diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/linux/microdump_writer/microdump_writer_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/linux/microdump_writer/microdump_writer_unittest.cc b/src/client/linux/microdump_writer/microdump_writer_unittest.cc index c2fea022..ca26fbfb 100644 --- a/src/client/linux/microdump_writer/microdump_writer_unittest.cc +++ b/src/client/linux/microdump_writer/microdump_writer_unittest.cc @@ -209,14 +209,14 @@ void CheckMicrodumpContents(const string& microdump_content, string token; unsigned crash_reason; string crash_reason_str; - intptr_t crash_address; + uintptr_t crash_address; crash_reason_tokens.ignore(2); // Ignore the "R " preamble. crash_reason_tokens >> std::hex >> crash_reason >> crash_reason_str >> crash_address; ASSERT_FALSE(crash_reason_tokens.fail()); ASSERT_EQ(MD_EXCEPTION_CODE_LIN_DUMP_REQUESTED, crash_reason); ASSERT_EQ("DUMP_REQUESTED", crash_reason_str); - ASSERT_EQ(0xDEADDEADu, kCrashAddress); + ASSERT_EQ(kCrashAddress, crash_address); did_find_crash_reason = true; } else if (line.find("V ") == 0) { if (expected_info.product_info) |