commit | c83127973df986766faa036f5d7c27ff13bf2f4b | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Mon Jul 16 12:44:41 2012 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Mon Jul 16 12:44:41 2012 -0700 |
tree | adef38a463e86ffa29329da2021a54267c3d28f4 | |
parent | e736f294c5b4a4407e79430080233654d02f912b [diff] [blame] |
fix some compiler warnings, and fragile code, in the test output
diff --git a/xmltest.cpp b/xmltest.cpp index eceb860..8e5e01f 100644 --- a/xmltest.cpp +++ b/xmltest.cpp
@@ -49,7 +49,7 @@ 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;