diff --git a/include/fmt/fmt-c.h b/include/fmt/fmt-c.h index 1f13b635..61799245 100644 --- a/include/fmt/fmt-c.h +++ b/include/fmt/fmt-c.h @@ -170,7 +170,7 @@ typedef enum {} fmt_signed_char; # define fmt_format(buffer, size, fmt, ...) \ fmt_vformat( \ - buffer, size, fmt, \ + (buffer), (size), (fmt), \ (fmt_arg[]){{fmt_int}, FMT_MAP(FMT_MAKE_ARG, ##__VA_ARGS__)} + 1, \ FMT_NARG(__VA_ARGS__))