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
This commit is contained in:
Bill Wendling 2007-03-08 23:26:50 +00:00
parent 12d3a91386
commit 3bae2e97d9

View File

@ -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!");