diff options
author | Caroline Tice <ctice@apple.com> | 2011-05-03 20:58:11 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2011-05-03 20:58:11 +0000 |
commit | 4a3533ba7fd0e72298bd06fc6ea398d16f408d7d (patch) | |
tree | 41cf04d5a72af0de582d12b744062eca96d93022 /lldb/source/Core/EmulateInstruction.cpp | |
parent | 86a73f90076ae11beb37a1b76ec2e1ee6f945b32 (diff) | |
download | bcm5719-llvm-4a3533ba7fd0e72298bd06fc6ea398d16f408d7d.tar.gz bcm5719-llvm-4a3533ba7fd0e72298bd06fc6ea398d16f408d7d.zip |
Remove type cast that was causing compiler warning.
llvm-svn: 130790
Diffstat (limited to 'lldb/source/Core/EmulateInstruction.cpp')
-rw-r--r-- | lldb/source/Core/EmulateInstruction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Core/EmulateInstruction.cpp b/lldb/source/Core/EmulateInstruction.cpp index 8b08005ee14..9ae9a1c1617 100644 --- a/lldb/source/Core/EmulateInstruction.cpp +++ b/lldb/source/Core/EmulateInstruction.cpp @@ -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; } |