mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 09:17:57 +08:00
3fae8ff07c
../../third_party/crashpad/crashpad/util/file/filesystem_test_util.cc(79,27): error: comparison of integers of different signs: 'DWORD' (aka 'unsigned long') and 'int' [-Werror,-Wsign-compare] if (symbolic_link_flags == -1) { ~~~~~~~~~~~~~~~~~~~ ^ ~~ In file included from ../../third_party/crashpad/crashpad/util/file/filesystem_test_util.cc:23: ../../third_party/googletest/src/googletest/include\gtest/gtest.h(1392,11): error: comparison of integers of different signs: 'const unsigned long' and 'const long' [-Werror,-Wsign-compare] if (lhs == rhs) { ~~~ ^ ~~~ ../../third_party/googletest/src/googletest/include\gtest/gtest.h(1421,12): note: in instantiation of function template specialization 'testing::internal::CmpHelperEQ<unsigned long, long>' requested here return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs); ^ ../../third_party/crashpad/crashpad/util/file/filesystem_test_util.cc(73,5): note: in instantiation of function template specialization 'testing::internal::EqHelper<false>::Compare<unsigned long, long>' requested here EXPECT_EQ(error, ERROR_PRIVILEGE_NOT_HELD) ^ ../../third_party/googletest/src/googletest/include\gtest/gtest.h(1924,63): note: expanded from macro 'EXPECT_EQ' EqHelper<GTEST_IS_NULL_LITERAL_(val1)>::Compare, \ ^ 2 errors generated. and ../../third_party/crashpad/crashpad/util/file/filesystem_test_util.cc(111,5): note: in instantiation of function template specialization 'testing::internal::EqHelper<false>::Compare<unsigned long, long>' requested here EXPECT_EQ(GetLastError(), ERROR_FILE_NOT_FOUND) ^ Change-Id: I55b33b39c271d765376ff9c416e737d0608eb781 Reviewed-on: https://chromium-review.googlesource.com/742561 Reviewed-by: Scott Graham <scottmg@chromium.org>