freedreno/afuc: Print uintptr_t with PRIxPTR

Fixes a compilation error on 32-bit.

Fixes: bba61cef38 ("freedreno/afuc: Add emulator mode to afuc-disasm")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11118>
This commit is contained in:
Matt Turner 2021-06-01 14:00:30 -07:00 committed by Marge Bot
parent 148723ce64
commit 09935c0dde

View File

@ -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 {