From b9d1c79fb1f2325efd2170a430bb0b73b1819622 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 8 May 2024 16:51:39 +0200 Subject: e --- compat/assert.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3