more wild-guessing at clang's problem with calling vsnprintf()

This commit is contained in:
Fabian Greffrath 2021-02-03 14:20:33 +01:00
parent 75952050d1
commit d68862a79f

View File

@ -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;