From: Marek Olšák Date: Sat, 17 Dec 2011 14:14:03 +0000 (+0100) Subject: mesa/x86: fix printf warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=211520450bc7b577dfc38ba68bb5f7a72c39ad30;p=mesa.git mesa/x86: fix printf warning --- diff --git a/src/mesa/x86/gen_matypes.c b/src/mesa/x86/gen_matypes.c index 648bf8787db..ebd6ce6945f 100644 --- a/src/mesa/x86/gen_matypes.c +++ b/src/mesa/x86/gen_matypes.c @@ -68,7 +68,7 @@ do { \ printf( "#define %s\t%lu\n", s, (unsigned long) sizeof(t) ); #define DEFINE( s, d ) \ - printf( "#define %s\t0x%x\n", s, d ); + printf( "#define %s\t0x%llx\n", s, (uint64_t)d );