Преглед изворни кода

fix some compiler warnings, and fragile code, in the test output

Lee Thomason пре 13 година
родитељ
комит
c83127973d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      xmltest.cpp

+ 1 - 1
xmltest.cpp

@@ -49,7 +49,7 @@ template< class T > bool XMLTest( const char* testString, T expected, T found, b
 	if ( !echo )
 		printf (" %s\n", testString);
 	else
-		printf (" %s [%d][%d]\n", testString, expected, found);
+		printf (" %s [%d][%d]\n", testString, static_cast<int>(expected), static_cast<int>(found) );
 
 	if ( pass )
 		++gPass;