Index: minidump/minidump_module_writer_test.cc |
diff --git a/minidump/minidump_module_writer_test.cc b/minidump/minidump_module_writer_test.cc |
index d5cc02b0cdef7c070ae2b0b57547b385d605b3b7..fdd5b0ca4d9a6f63a6d15522b6d751159bce6ec5 100644 |
--- a/minidump/minidump_module_writer_test.cc |
+++ b/minidump/minidump_module_writer_test.cc |
@@ -158,8 +158,7 @@ void ExpectMiscellaneousDebugRecord( |
*misc_record); |
ASSERT_TRUE(misc_debug_record); |
EXPECT_EQ(expected_debug_type, misc_debug_record->DataType); |
- EXPECT_EQ(expected_debug_utf16, |
- static_cast<bool>(misc_debug_record->Unicode)); |
+ EXPECT_EQ(expected_debug_utf16, misc_debug_record->Unicode != 0); |
EXPECT_EQ(0u, misc_debug_record->Reserved[0]); |
EXPECT_EQ(0u, misc_debug_record->Reserved[1]); |
EXPECT_EQ(0u, misc_debug_record->Reserved[2]); |