mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-26 06:20:16 -04:00
another attempt to get rid of the Clang warning
This commit is contained in:
parent
ccc9675545
commit
0e8a35d127
@ -411,6 +411,13 @@ char *M_StringJoin(const char *s, ...)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// On Windows, vsnprintf() is _vsnprintf().
|
||||||
|
#ifdef _WIN32
|
||||||
|
#if _MSC_VER < 1400 /* not needed for Visual Studio 2008 */
|
||||||
|
#define vsnprintf _vsnprintf
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// Safe, portable vsnprintf().
|
// Safe, portable vsnprintf().
|
||||||
static int M_vsnprintf(char *buf, size_t buf_len, const char *s, va_list args)
|
static int M_vsnprintf(char *buf, size_t buf_len, const char *s, va_list args)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user