Uppercase hexdup
This commit is contained in:
parent
04c8311528
commit
dc2bfe10a8
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ void hexdump(const void *data, size_t size) {
|
||||||
// Print hex bytes
|
// Print hex bytes
|
||||||
for (j = 0; j < 16; j++) {
|
for (j = 0; j < 16; j++) {
|
||||||
if (i + j < size) {
|
if (i + j < size) {
|
||||||
printf("%02x ", p[i + j]);
|
printf("%02X ", p[i + j]);
|
||||||
} else {
|
} else {
|
||||||
printf(" "); // padding for incomplete lines
|
printf(" "); // padding for incomplete lines
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue