summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-10-04 10:01:54 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-10-04 17:28:01 -0700
commit53b8f6374f6bb12fd783ab90694a752c7cfc7b3a (patch)
tree0faf1baf164472b537dfe1d99b9534b64f1de3d2
parentaf41e1a5009ce621e209932712ae424e9a01e7b2 (diff)
aubinator: use the correct format specifier for printing ptrdiff_t.
Fixes more warnings in 32-bit builds. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
-rw-r--r--src/intel/tools/aubinator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 864385d902..1798191f0b 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -941,7 +941,7 @@ aub_file_decode_batch(struct aub_file *file, struct gen_spec *spec)
bias = 1;
break;
default:
- printf("unknown opcode %d at %ld/%ld\n",
+ printf("unknown opcode %d at %td/%td\n",
OPCODE(h), file->cursor - file->map,
file->end - file->map);
file->cursor = file->end;