From 3bae2e97d97ec5ed8df9ea4795a1127697738942 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 8 Mar 2007 23:26:50 +0000 Subject: [PATCH] Don't use a cast. It causes an error on some platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35037 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/Interpreter/Execution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index b19fa048cfd..e64a6e8e51f 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -753,7 +753,7 @@ void Interpreter::visitAllocationInst(AllocationInst &I) { 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!");