diff options
Diffstat (limited to 'src')
3 files changed, 4 insertions, 4 deletions
diff --git a/src/client/linux/handler/exception_handler_unittest.cc b/src/client/linux/handler/exception_handler_unittest.cc index 73e5c4c2..f8024f26 100644 --- a/src/client/linux/handler/exception_handler_unittest.cc +++ b/src/client/linux/handler/exception_handler_unittest.cc @@ -626,7 +626,7 @@ TEST(ExceptionHandlerTest, ModuleInfo) { MAP_PRIVATE | MAP_ANON, -1, 0)); - const u_int64_t kMemoryAddress = reinterpret_cast<u_int64_t>(memory); + const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory); ASSERT_TRUE(memory); string minidump_filename; diff --git a/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc b/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc index 84e1974f..5f7995c1 100644 --- a/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc +++ b/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc @@ -144,7 +144,7 @@ TEST(LinuxPtraceDumperTest, MergedMappings) { 0)); ASSERT_TRUE(mapping); - const u_int64_t kMappingAddress = reinterpret_cast<u_int64_t>(mapping); + const uintptr_t kMappingAddress = reinterpret_cast<uintptr_t>(mapping); // Ensure that things get cleaned up. StackHelper helper(fd, mapping, kMappingSize); diff --git a/src/client/linux/minidump_writer/minidump_writer_unittest.cc b/src/client/linux/minidump_writer/minidump_writer_unittest.cc index ee021ae3..ef1e7a54 100644 --- a/src/client/linux/minidump_writer/minidump_writer_unittest.cc +++ b/src/client/linux/minidump_writer/minidump_writer_unittest.cc @@ -121,7 +121,7 @@ TEST(MinidumpWriterTest, MappingInfo) { MAP_PRIVATE | MAP_ANON, -1, 0)); - const u_int64_t kMemoryAddress = reinterpret_cast<u_int64_t>(memory); + const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory); ASSERT_TRUE(memory); const pid_t child = fork(); @@ -224,7 +224,7 @@ TEST(MinidumpWriterTest, MappingInfoContained) { MAP_PRIVATE, fd, 0)); - const u_int64_t kMemoryAddress = reinterpret_cast<u_int64_t>(memory); + const uintptr_t kMemoryAddress = reinterpret_cast<uintptr_t>(memory); ASSERT_TRUE(memory); close(fd); |