Fix address printing in Debug_HexDump

This commit is contained in:
Ali Mashtizadeh 2023-08-20 19:05:59 -04:00
parent fa2c3487af
commit c8f6294511

View File

@ -38,7 +38,7 @@ Debug_PrintHex(const char *data, size_t length, off_t off, size_t limit)
if (ix >= limit || ix >= length)
return;
kprintf("%08lx ", ix);
kprintf("%08lx ", (uintptr_t)data+ix);
size_t col;
for (col = 0; col < row_size; col++) {
size_t ixc = ix + col;