Commit 00cc01b1 authored by Adam Wujek's avatar Adam Wujek

userspace/tools/wrs_dump_shmem: print unsigned long as unsigned value

Before it was printed as signed
Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 1894e342
......@@ -159,7 +159,7 @@ void dump_one_field(void *addr, struct dump_info *info, char *info_prefix)
printf("%u\n", *(uint32_t *)p);
break;
case dump_type_unsigned_long:
printf("%li\n", *(unsigned long *)p);
printf("%lu\n", *(unsigned long *)p);
break;
case dump_type_unsigned_char:
case dump_type_UInteger8:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment