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>
This commit is contained in:
Kenneth Graunke
2016-10-04 10:01:54 -07:00
parent af41e1a500
commit 53b8f6374f

View File

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