Fix warning from external code.

This commit is contained in:
Atgeirr Flø Rasmussen 2023-06-28 16:10:13 +02:00
parent c9b1f01c23
commit 0b930bc45c

View File

@ -96,7 +96,7 @@ void Trace::show(const char* format, ...)
#elif defined(CVF_ANDROID)
__android_log_print(ANDROID_LOG_DEBUG, "CVF_TAG", format, argList);
#else
vsprintf(temp, format, argList);
vsnprintf(temp, maxFormatLength, format, argList);
#endif
va_end(argList);