mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Fixed VS build.
This commit is contained in:
@@ -428,7 +428,7 @@ namespace bx
|
||||
{
|
||||
va_list argListCopy;
|
||||
va_copy(argListCopy, _argList);
|
||||
len = ::vsnprintf_s(_out, _max, int32_t(-1), _format, argListCopy);
|
||||
len = ::vsnprintf_s(_out, _max, size_t(-1), _format, argListCopy);
|
||||
va_end(argListCopy);
|
||||
}
|
||||
return -1 == len ? ::_vscprintf(_format, _argList) : len;
|
||||
@@ -457,7 +457,7 @@ namespace bx
|
||||
{
|
||||
va_list argListCopy;
|
||||
va_copy(argListCopy, _argList);
|
||||
len = ::_vsnwprintf_s(_out, _max, int32_t(-1), _format, argListCopy);
|
||||
len = ::_vsnwprintf_s(_out, _max, size_t(-1), _format, argListCopy);
|
||||
va_end(argListCopy);
|
||||
}
|
||||
return -1 == len ? ::_vscwprintf(_format, _argList) : len;
|
||||
|
||||
Reference in New Issue
Block a user