diff options
| author | Michael Maltese <michaeljosephmaltese@gmail.com> | 2017-03-24 17:08:19 -0700 |
|---|---|---|
| committer | Michael Maltese <michaeljosephmaltese@gmail.com> | 2017-03-24 17:15:37 -0700 |
| commit | 9234ed82daea71f5702e3bf66d4564eea50e19c6 (patch) | |
| tree | f43d85d1f7bc2f0de1da7dcc506685b44e6b35e5 /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp | |
| parent | c5cc781205be6125c9214cf0100b241e36491bd2 (diff) | |
BitUtilsTest: compare ints of the same signedness (fixes warnings)
Fixes warnings like:
```
dolphin/Source/UnitTests/Common/BitUtilsTest.cpp:5:
../Externals/gtest/googletest/include/gtest/gtest.h:1392:11: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare]
if (lhs == rhs) {
~~~ ^ ~~~
../Externals/gtest/googletest/include/gtest/gtest.h:1421:12: note: in instantiation of function template specialization 'testing::internal::CmpHelperEQ<unsigned long, int>' requested here
return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
^
dolphin/Source/UnitTests/Common/BitUtilsTest.cpp:12:3: note: in instantiation of function template specialization 'testing::internal::EqHelper<false>::Compare<unsigned long, int>' requested here
EXPECT_EQ(Common::BitSize<s8>(), 8);
^
../Externals/gtest/googletest/include/gtest/gtest.h:1924:63: note: expanded from macro 'EXPECT_EQ'
EqHelper<GTEST_IS_NULL_LITERAL_(val1)>::Compare, \
```
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions
