diff options
author | Hans Wennborg <hans@chromium.org> | 2016-03-25 09:23:26 -0700 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2016-03-25 16:30:36 +0000 |
commit | 035459168ac247f089c25d5f5c3c1f36814bb1f5 (patch) | |
tree | 1240068acb09a180edf35c510329681010dc24ab /content/browser/renderer_host/p2p/socket_host_test_utils.cc | |
parent | fc2e764e46a19ec3ef3fce0deffb261424cd69f3 (diff) | |
download | chromium_src-035459168ac247f089c25d5f5c3c1f36814bb1f5.zip chromium_src-035459168ac247f089c25d5f5c3c1f36814bb1f5.tar.gz chromium_src-035459168ac247f089c25d5f5c3c1f36814bb1f5.tar.bz2 |
process_policy_test.cc: Fix mixed-sign comparison warning.
Clang builds were failing like this:
In file included from ..\..\sandbox\win\src\process_policy_test.cc:19:
..\..\testing/gtest/include/gtest/gtest.h(1392,16):
error: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Werror,-Wsign-compare]
if (expected == actual) {
~~~~~~~~ ^ ~~~~~~
..\..\testing/gtest/include/gtest/gtest.h(1422,12):
note: in instantiation of function template specialization 'testing::internal::CmpHelperEQ<unsigned long, int>' requested here
return CmpHelperEQ(expected_expression, actual_expression, expected,
^
..\..\sandbox\win\src\process_policy_test.cc(419,3):
note: in instantiation of function template specialization 'testing::internal::EqHelper<false>::Compare<unsigned long, int>' requested here
EXPECT_EQ(STATUS_BREAKPOINT, runner.RunTest(L"Process_Crash"));
^
..\..\testing/gtest/include/gtest/gtest.h(1928,67): note: expanded from macro 'EXPECT_EQ'
EqHelper<GTEST_IS_NULL_LITERAL_(expected)>::Compare, \
^
BUG=82385
TBR=wfh
Review URL: https://codereview.chromium.org/1833863004 .
Cr-Commit-Position: refs/heads/master@{#383286}
Diffstat (limited to 'content/browser/renderer_host/p2p/socket_host_test_utils.cc')
0 files changed, 0 insertions, 0 deletions