From d68862a79f041e40afbe0d595327cfa07621fade Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Wed, 3 Feb 2021 14:20:33 +0100 Subject: [PATCH] more wild-guessing at clang's problem with calling vsnprintf() --- Source/m_misc2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/m_misc2.c b/Source/m_misc2.c index eb11afba..35e973e0 100644 --- a/Source/m_misc2.c +++ b/Source/m_misc2.c @@ -419,7 +419,7 @@ char *M_StringJoin(const char *s, ...) #endif // Safe, portable vsnprintf(). -static int M_vsnprintf(char *buf, size_t buf_len, const char *s, va_list args) +static int PRINTF_ATTR(3, 0) M_vsnprintf(char *buf, size_t buf_len, const char *s, va_list args) { int result;