aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Target/MemoryTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Target/MemoryTest.cpp')
-rw-r--r--lldb/unittests/Target/MemoryTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Target/MemoryTest.cpp b/lldb/unittests/Target/MemoryTest.cpp
index f7b4e97..e444f68 100644
--- a/lldb/unittests/Target/MemoryTest.cpp
+++ b/lldb/unittests/Target/MemoryTest.cpp
@@ -245,7 +245,7 @@ public:
if (read_more_than_requested)
size *= 2;
uint8_t *buffer = static_cast<uint8_t *>(buf);
- for (size_t addr = vm_addr; addr < vm_addr + size; addr++)
+ for (lldb::addr_t addr = vm_addr; addr < vm_addr + size; addr++)
buffer[addr - vm_addr] = static_cast<uint8_t>(addr); // LSB of addr.
return size;
}