Fixed uint64 width at reg_read.

This commit is contained in:
Florian Pose 2009-04-08 16:20:13 +00:00
parent 29a51d8408
commit 07ab460d36
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ void CommandRegRead::execute(MasterDevice &m, const StringVector &args)
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;