diff options
-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> |