Skip to content

Commit 799cef6

Browse files
committed
xrCore/log.cpp: _vsnprintf() replaced by std::vsnprintf().
1 parent 84f3b8a commit 799cef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrCore/log.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void __cdecl Msg(const char* format, ...)
9797
va_list mark;
9898
string2048 buf;
9999
va_start(mark, format);
100-
int sz = _vsnprintf(buf, sizeof(buf) - 1, format, mark);
100+
int sz = std::vsnprintf(buf, sizeof(buf) - 1, format, mark);
101101
buf[sizeof(buf) - 1] = 0;
102102
va_end(mark);
103103
if (sz) Log(buf);

0 commit comments

Comments
 (0)