1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[ExecutionEngine] Add a static cast to the unittest for r241962 to suppress a

warning.

llvm-svn: 241974
This commit is contained in:
Lang Hames 2015-07-11 02:07:28 +00:00
parent f7254a68ab
commit ed1282388e

View File

@ -258,7 +258,7 @@ TEST_F(MCJITTest, lazy_function_creator_lambda) {
// Verify that our handler was called for each unresolved function.
auto I = UnresolvedExternals.begin(), E = UnresolvedExternals.end();
EXPECT_EQ(UnresolvedExternals.size(), 2);
EXPECT_EQ(UnresolvedExternals.size(), static_cast<size_t>(2));
EXPECT_FALSE(std::find(I, E, "Foo1") == E);
EXPECT_FALSE(std::find(I, E, "Foo2") == E);
}