[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Bill Wendling
isanbard at gmail.com
Thu Mar 8 15:27:11 PST 2007
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Execution.cpp updated: 1.175 -> 1.176
---
Log message:
Don't use a cast. It causes an error on some platforms.
---
Diffs of the changes: (+1 -1)
Execution.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.175 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.176
--- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.175 Mon Mar 5 21:46:41 2007
+++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Thu Mar 8 17:26:50 2007
@@ -753,7 +753,7 @@
DOUT << "Allocated Type: " << *Ty << " (" << TypeSize << " bytes) x "
<< NumElements << " (Total: " << MemToAlloc << ") at "
- << unsigned(Memory) << '\n';
+ << std::hex << Memory << '\n';
GenericValue Result = PTOGV(Memory);
assert(Result.PointerVal != 0 && "Null pointer returned by malloc!");
More information about the llvm-commits
mailing list