projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5016b09
)
mesa/x86: fix printf warning
author
Marek Olšák
<maraeo@gmail.com>
Sat, 17 Dec 2011 14:14:03 +0000
(15:14 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 17 Dec 2011 14:14:03 +0000
(15:14 +0100)
src/mesa/x86/gen_matypes.c
patch
|
blob
|
history
diff --git
a/src/mesa/x86/gen_matypes.c
b/src/mesa/x86/gen_matypes.c
index 648bf8787dbd8bbac5759d179bb1e3033db7f71b..ebd6ce6945fab370cb456d531fe6fb31edb520cd 100644
(file)
--- 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 );