From: Kenneth Graunke Date: Tue, 4 Oct 2016 17:01:54 +0000 (-0700) Subject: aubinator: use the correct format specifier for printing ptrdiff_t. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53b8f6374f6bb12fd783ab90694a752c7cfc7b3a;p=mesa.git aubinator: use the correct format specifier for printing ptrdiff_t. Fixes more warnings in 32-bit builds. Signed-off-by: Kenneth Graunke Reviewed-by: Anuj Phogat Reviewed-by: Timothy Arceri --- diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c index 864385d9029..1798191f0bc 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;