Explorar o código

Fix MSVC11 compile error in AssxmlExporter.cpp -- vsnprintf is not in std.

Alexander Gessler %!s(int64=9) %!d(string=hai) anos
pai
achega
167bc579c5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/AssxmlExporter.cpp

+ 1 - 1
code/AssxmlExporter.cpp

@@ -77,7 +77,7 @@ static int ioprintf( IOStream * io, const char *format, ... ) {
     ::memset( sz, '\0', Size );
     va_list va;
     va_start( va, format );
-    int nSize = std::vsnprintf( sz, Size-1, format, va );
+    int nSize = vsnprintf( sz, Size-1, format, va );
     ai_assert( nSize < Size );
     va_end( va );