mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-12-25 17:19:46 +05:30
reverse-ramdisk.c: use %p
instead of PRIXPTR
This commit is contained in:
parent
888b257a7b
commit
8e7743af40
@ -281,8 +281,8 @@ int tf_read(int ID, size_t offset, void* dest, size_t data_size) {
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Read: ID = %d, src = %016" PRIXPTR ", size = %zu -> '",
|
||||
ID, (uintptr_t)dest, data_size);
|
||||
printf("Read: ID = %d, src = %p, size = %zu -> '",
|
||||
ID, dest, data_size);
|
||||
for (size_t i = 0; i < data_size; i++)
|
||||
printf("0x%02" PRIX8 " ", *((uint8_t*)((uint8_t*)dest + i)));
|
||||
printf("'\n");
|
||||
|
Loading…
Reference in New Issue
Block a user