mesa/x86: fix printf warning
authorMarek Olšák <maraeo@gmail.com>
Sat, 17 Dec 2011 14:14:03 +0000 (15:14 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 17 Dec 2011 14:14:03 +0000 (15:14 +0100)
src/mesa/x86/gen_matypes.c

index 648bf8787dbd8bbac5759d179bb1e3033db7f71b..ebd6ce6945fab370cb456d531fe6fb31edb520cd 100644 (file)
@@ -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 );