From 55b735c51ae27a9c40b0e230543572384ec61c9b Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 7 Feb 2022 23:36:01 -0500 Subject: [PATCH] rtasm: fix printf specifier for ptrdiff_t In practice it's a small number, but new gcc versions complain. Signed-off-by: Ilia Mirkin Acked-by: Emma Anholt Tested-By: Mike Blumenkrantz Part-of: --- src/gallium/auxiliary/rtasm/rtasm_x86sse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c index ddd65fb6a08..1da983c5b2d 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c +++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c @@ -89,7 +89,7 @@ void x86_print_reg( struct x86_reg reg ) foo++; \ if (*foo) \ foo++; \ - debug_printf( "\n%4x %14s ", p->csr - p->store, foo ); \ + debug_printf( "\n%4tx %14s ", p->csr - p->store, foo ); \ } while (0) #define DUMP_I( I ) do { \