diff options
Diffstat (limited to 'base/engine.cpp')
-rw-r--r-- | base/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/engine.cpp b/base/engine.cpp index ff574c6179..cfea95c193 100644 --- a/base/engine.cpp +++ b/base/engine.cpp @@ -139,7 +139,7 @@ void CDECL warning(const char *s, ...) { va_list va; va_start(va, s); - vsprintf(buf, s, va); + vsnprintf(buf, STRINGBUFLEN, s, va); va_end(va); #ifdef __GP32__ //ph0x FIXME: implement fprint? |