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:
@@ -941,7 +941,7 @@ aub_file_decode_batch(struct aub_file *file, struct gen_spec *spec)
|
|||||||
bias = 1;
|
bias = 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("unknown opcode %d at %ld/%ld\n",
|
printf("unknown opcode %d at %td/%td\n",
|
||||||
OPCODE(h), file->cursor - file->map,
|
OPCODE(h), file->cursor - file->map,
|
||||||
file->end - file->map);
|
file->end - file->map);
|
||||||
file->cursor = file->end;
|
file->cursor = file->end;
|
||||||
|
Reference in New Issue
Block a user