diff options
Diffstat (limited to 'src/processor/minidump_unittest.cc')
-rw-r--r-- | src/processor/minidump_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/processor/minidump_unittest.cc b/src/processor/minidump_unittest.cc index 3a83235e..93df5cc2 100644 --- a/src/processor/minidump_unittest.cc +++ b/src/processor/minidump_unittest.cc @@ -65,7 +65,7 @@ TEST_F(MinidumpTest, TestMinidumpFromFile) { ASSERT_TRUE(minidump.Read()); const MDRawHeader* header = minidump.header(); ASSERT_NE(header, (MDRawHeader*)NULL); - ASSERT_EQ(header->signature, MD_HEADER_SIGNATURE); + ASSERT_EQ(header->signature, u_int32_t(MD_HEADER_SIGNATURE)); //TODO: add more checks here } @@ -91,7 +91,7 @@ TEST_F(MinidumpTest, TestMinidumpFromStream) { ASSERT_TRUE(minidump.Read()); const MDRawHeader* header = minidump.header(); ASSERT_NE(header, (MDRawHeader*)NULL); - ASSERT_EQ(header->signature, MD_HEADER_SIGNATURE); + ASSERT_EQ(header->signature, u_int32_t(MD_HEADER_SIGNATURE)); //TODO: add more checks here } |