Fixed uint64 width at reg_read.
authorFlorian Pose <fp@igh-essen.com>
Wed, 08 Apr 2009 16:20:13 +0000
changeset 1391 9a547310f8d8
parent 1390 7e600a39a91b
child 1392 8fcc1d0987c1
Fixed uint64 width at reg_read.
tool/CommandRegRead.cpp
--- a/tool/CommandRegRead.cpp	Wed Apr 08 14:49:36 2009 +0000
+++ b/tool/CommandRegRead.cpp	Wed Apr 08 16:20:13 2009 +0000
@@ -189,7 +189,7 @@
         cout << uval << " 0x" << hex << setw(8) << uval << endl;
     } else if (dataType->name == "uint64") {
         long long unsigned int uval = le64_to_cpup(data.data);
-        cout << uval << " 0x" << hex << setw(8) << uval << endl;
+        cout << uval << " 0x" << hex << setw(16) << uval << endl;
     } else { // raw
         uint8_t *d = data.data;
         unsigned int size = data.length;