Remove type cast that was causing compiler warning.

llvm-svn: 130790
This commit is contained in:
Caroline Tice
2011-05-03 20:58:11 +00:00
parent 86a73f9007
commit 4a3533ba7f

View File

@@ -305,7 +305,7 @@ EmulateInstruction::ReadMemoryDefault (EmulateInstruction *instruction,
void *dst,
size_t length)
{
fprintf (stdout, " Read from Memory (address = 0x%llx, length = %zu, context = ", addr, (uint32_t) length);
fprintf (stdout, " Read from Memory (address = 0x%llx, length = %zu, context = ", addr, length);
context.Dump (stdout, instruction);
*((uint64_t *) dst) = 0xdeadbeef;
return length;
@@ -319,7 +319,7 @@ EmulateInstruction::WriteMemoryDefault (EmulateInstruction *instruction,
const void *dst,
size_t length)
{
fprintf (stdout, " Write to Memory (address = 0x%llx, length = %zu, context = ", addr, (uint32_t) length);
fprintf (stdout, " Write to Memory (address = 0x%llx, length = %zu, context = ", addr, length);
context.Dump (stdout, instruction);
return length;
}