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

pull/875/head
Alexander Gessler 2016-05-05 15:41:12 +02:00 committed by Alexander Gessler
parent 1daae7b7b9
commit 167bc579c5
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static int ioprintf( IOStream * io, const char *format, ... ) {
::memset( sz, '\0', Size ); ::memset( sz, '\0', Size );
va_list va; va_list va;
va_start( va, format ); 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 ); ai_assert( nSize < Size );
va_end( va ); va_end( va );