mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 20:48:08 +02:00
intel/brw: Use %td format for pointer difference
Fixes build for 32-bit, again.
Fixes: e72bf2d02f ("intel: Add executor tool")
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30669>
This commit is contained in:
parent
8a44b4812a
commit
2150bc6d80
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ executor_print_bo(executor_bo *bo, const char *name)
|
|||
uint32_t *dw = bo->map;
|
||||
uint32_t len = (uint32_t *)bo->cursor - dw;
|
||||
|
||||
printf("=== %s (0x%08"PRIx64", %lu bytes) ===\n", name, bo->addr, bo->cursor - bo->map);
|
||||
printf("=== %s (0x%08"PRIx64", %td bytes) ===\n", name, bo->addr, bo->cursor - bo->map);
|
||||
|
||||
for (int i = 0; i < len; i++) {
|
||||
if ((i % 8) == 0) printf("[0x%08x] ", (i*4) + (uint32_t)bo->addr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue