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

This commit is contained in:
Lee Thomason 2012-07-16 12:44:41 -07:00
parent e736f294c5
commit c83127973d

View File

@ -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;