diff options
author | Mike Frysinger <vapier@chromium.org> | 2017-02-06 22:34:52 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@chromium.org> | 2017-02-12 18:51:38 +0000 |
commit | 0e45a1268a7f8ffad1b67ad67a4759b0079589a0 (patch) | |
tree | 20d4c6fed8c9898697da723d88edac8b01ab86fe /src/google_breakpad/processor/microdump.h | |
parent | windows: fix build on pre-Win10 systems (diff) | |
download | breakpad-0e45a1268a7f8ffad1b67ad67a4759b0079589a0.tar.xz |
macho_reader_unittest: use EXPECT_FALSE
This avoids compile time errors:
In file included from ./src/testing/googletest/include/gtest/gtest.h:1874:0,
from ./src/breakpad_googletest_includes.h:33,
from src/common/mac/macho_reader_unittest.cc:39:
src/common/mac/macho_reader_unittest.cc: In member function 'virtual void LoadCommand_SegmentBE32_Test::TestBody()':
./src/testing/googletest/include/gtest/internal/gtest-internal.h:133:55: error:
converting 'false' to pointer type for argument 1 of 'char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)' [-Werror=conversion-null]
(sizeof(::testing::internal::IsNullLiteralHelper(x)) == 1)
^
...
src/common/mac/macho_reader_unittest.cc:1117:3: note: in expansion of macro 'EXPECT_EQ'
EXPECT_EQ(false, actual_segment.bits_64);
Change-Id: I0cf88160dbe17b0feebed3c91ad65491b81023fd
Reviewed-on: https://chromium-review.googlesource.com/439004
Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/google_breakpad/processor/microdump.h')
0 files changed, 0 insertions, 0 deletions