diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/stringutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 917ea3ab6..92dddebea 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -93,7 +93,7 @@ std::string strprintf(char const *, ...) #ifdef __GNUC__ /* This attribute is nice: it even works through gettext invokation. For example, gcc will complain that strprintf(_("%s"), 42) is ill-formed. */ - __attribute__((__format__(__printf__, 1, 2))) + __attribute__((__format__(gnu_printf, 1, 2))) #endif ; |