projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51872e8
)
nv50: fix printf warning
author
Marek Olšák
<maraeo@gmail.com>
Tue, 9 Oct 2012 12:38:43 +0000
(14:38 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 9 Oct 2012 12:38:43 +0000
(14:38 +0200)
src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp
b/src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp
index daa0ec697fb0d4582750a7af0fa5cfaf7e00832d..4c522ee479bd73eec5e1253469d32af46635ebc9 100644
(file)
--- a/
src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp
+++ b/
src/gallium/drivers/nv50/codegen/nv50_ir_print.cpp
@@
-22,6
+22,7
@@
#include "nv50_ir.h"
#include "nv50_ir_target.h"
+#include <inttypes.h>
namespace nv50_ir {
@@
-391,7
+392,7
@@
int ImmediateValue::print(char *buf, size_t size, DataType ty) const
case TYPE_U64:
case TYPE_S64:
default:
- PRINT("0x%016
lx"
, reg.data.u64);
+ PRINT("0x%016
"PRIx64
, reg.data.u64);
break;
}
return pos;