Fix slicing of int64_t
diff --git a/xmltest.cpp b/xmltest.cpp
index 0299909..8f46af9 100644
--- a/xmltest.cpp
+++ b/xmltest.cpp
@@ -82,8 +82,15 @@
if ( !echo )
printf (" %s\n", testString);
- else
- printf (" %s [%d][%d]\n", testString, static_cast<int>(expected), static_cast<int>(found) );
+ else {
+ char expectedAsString[64];
+ XMLUtil::ToStr(expected, expectedAsString, sizeof(expectedAsString));
+
+ char foundAsString[64];
+ XMLUtil::ToStr(found, foundAsString, sizeof(foundAsString));
+
+ printf (" %s [%s][%s]\n", testString, expectedAsString, foundAsString );
+ }
if ( pass )
++gPass;