Skip to content

Commit

Permalink
xrCore/log.cpp: _vsnprintf() replaced by std::vsnprintf().
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Nov 27, 2015
1 parent 84f3b8a commit 799cef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrCore/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void __cdecl Msg(const char* format, ...)
va_list mark;
string2048 buf;
va_start(mark, format);
int sz = _vsnprintf(buf, sizeof(buf) - 1, format, mark);
int sz = std::vsnprintf(buf, sizeof(buf) - 1, format, mark);
buf[sizeof(buf) - 1] = 0;
va_end(mark);
if (sz) Log(buf);
Expand Down

0 comments on commit 799cef6

Please sign in to comment.