summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/x86/gen_matypes.c2
1 files changed, 1 insertions, 1 deletions
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 );