Fix warning from external code.
This commit is contained in:
parent
c9b1f01c23
commit
0b930bc45c
2
external/resinsight/LibCore/cvfTrace.cpp
vendored
2
external/resinsight/LibCore/cvfTrace.cpp
vendored
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user