diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-08 16:51:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-08 16:51:39 +0200 |
commit | b9d1c79fb1f2325efd2170a430bb0b73b1819622 (patch) | |
tree | 15a64da8d1e5ec96d7950fbb7cbbdf03fd8b107d /compat | |
parent | 83bcd3118726aa2543b70d49d8fbaac417f1795e (diff) |
e
Diffstat (limited to 'compat')
-rw-r--r-- | compat/assert.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/assert.hpp b/compat/assert.hpp index b048f547..1f0678a1 100644 --- a/compat/assert.hpp +++ b/compat/assert.hpp @@ -1,7 +1,7 @@ #pragma once //#include "defs.hpp" #if defined __GNUG__ || defined __CLION_IDE__ -#define fm_FORMAT_ARG(n) __attribute__((format (gnu_printf, (n), (n+1)))) +#define fm_FORMAT_ARG(n) __attribute__((format (gnu_printf, (n), ((n)+1)))) #define fm_FORMAT_ARG_MSVC #elif defined _MSC_VER #include <sal.h> |