forked from qt-creator/qt-creator
Debugger: Use proper placeholders in printf
Change-Id: Ibf63c0be68e83a870a0cb3ddce0b38381a1e4153 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -72,7 +72,7 @@ template <class T>
|
|||||||
if (optVerbose) {
|
if (optVerbose) {
|
||||||
for (unsigned int i = 0; i < sizeof(T); i++) {
|
for (unsigned int i = 0; i < sizeof(T); i++) {
|
||||||
unsigned int b = mem[i];
|
unsigned int b = mem[i];
|
||||||
printf("%2d %2x %3d\n", i, b, b);
|
printf("%2u %2x %3u\n", i, b, b);
|
||||||
}
|
}
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user