Mesa (master): mesa/x86: fix printf warning

Marek Olšák mareko at kemper.freedesktop.org
Sat Dec 17 14:16:22 UTC 2011


Module: Mesa
Branch: master
Commit: 211520450bc7b577dfc38ba68bb5f7a72c39ad30
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=211520450bc7b577dfc38ba68bb5f7a72c39ad30

Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Dec 17 15:14:03 2011 +0100

mesa/x86: fix printf warning

---

 src/mesa/x86/gen_matypes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/x86/gen_matypes.c b/src/mesa/x86/gen_matypes.c
index 648bf87..ebd6ce6 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 );
 
 
 




More information about the mesa-commit mailing list