intel/tools: fix 32-bit build

Fixes: 0aac3b1009 ("intel/tools/aubinator: add support for 2 "new" subopcodes")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6553
Reviewed-by: Mark Janes <markjanes@swizzler.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16695>
This commit is contained in:
Marcin Ślusarz
2022-05-24 19:27:21 +02:00
committed by Marge Bot
parent b95d9bca1d
commit 21d3630cbc
+2 -1
View File
@@ -22,6 +22,7 @@
*
*/
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -272,7 +273,7 @@ static void
do_write(struct aub_read *read, uint32_t address_space, uint64_t addr, const void *data, uint32_t size)
{
if (0)
fprintf(stderr, "*0x%lx = *0x%p (%d)\n", addr, data, size);
fprintf(stderr, "*0x%" PRIx64 " = *0x%p (%d)\n", addr, data, size);
switch (address_space) {
case 0: /* GGTT */