Commit 09935c0d authored by Matt Turner's avatar Matt Turner Committed by Marge Bot
Browse files

freedreno/afuc: Print uintptr_t with PRIxPTR

Fixes a compilation error on 32-bit.

Fixes: bba61cef ("freedreno/afuc: Add emulator mode to afuc-disasm")
Part-of: <!11118>
parent 148723ce
Pipeline #330499 waiting for manual action with stages
......@@ -213,7 +213,7 @@ dump_gpumem(struct emu *emu, uintptr_t addr)
{
uint32_t val = emu_mem_read_dword(emu, addr);
printf(" MEM: 0x%016"PRIx64": ", addr);
printf(" MEM: 0x%016"PRIxPTR": ", addr);
if (addr == emu->gpumem_written) {
printdelta("0x%08x\n", val);
} else {
......
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