diff --git a/headers/os/support/String.h b/headers/os/support/String.h index 9dcc88c9ff..60e6967e77 100644 --- a/headers/os/support/String.h +++ b/headers/os/support/String.h @@ -58,7 +58,8 @@ public: BString& SetToFormat(const char* format, ...) __attribute__((__format__(__printf__, 2, 3))); BString& SetToFormatVarArgs(const char* format, - va_list args); + va_list args) + __attribute__((__format__(__printf__, 2, 0))); // Substring copying BString& CopyInto(BString& into, int32 fromOffset,