Skip to content
Snippets Groups Projects
Commit c8c49668 authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk
Browse files

Debugger: Use proper placeholders in printf


Change-Id: Ibf63c0be68e83a870a0cb3ddce0b38381a1e4153
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent b24dcfde
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ template <class T> ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment