[Mesa-dev] [PATCH] aubinator: use the correct format specifier for printing ptrdiff_t.
Kenneth Graunke
kenneth at whitecape.org
Tue Oct 4 17:01:54 UTC 2016
Fixes more warnings in 32-bit builds.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/intel/tools/aubinator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 9b32e5b..27d7647 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -942,7 +942,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;
--
2.10.0
More information about the mesa-dev
mailing list