From fed3223adbcd094eca9191f6764d9cfb6b79d10a Mon Sep 17 00:00:00 2001 From: Alexey Ismagilov Date: Thu, 30 Oct 2025 02:24:33 +0100 Subject: [PATCH] Fix build while using -pedantic flag --- nob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nob.h b/nob.h index 4f752af..3236d85 100644 --- a/nob.h +++ b/nob.h @@ -431,7 +431,7 @@ NOBDEF uint64_t nob_nanos_since_unspecified_epoch(void); // Same as nob_cmd_run_opt but using cool variadic macro to set the default options. // See https://x.com/vkrajacic/status/1749816169736073295 for more info on how to use such macros. -#define nob_cmd_run(cmd, ...) nob_cmd_run_opt((cmd), (Nob_Cmd_Opt){__VA_ARGS__}) +#define nob_cmd_run(cmd, ...) nob_cmd_run_opt((cmd), (Nob_Cmd_Opt){.async = NULL, __VA_ARGS__}) // DEPRECATED: //