From: Lang Hames Date: Sat, 11 Jul 2015 02:07:28 +0000 (+0000) Subject: [ExecutionEngine] Add a static cast to the unittest for r241962 to suppress a X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=1af073b98322949af41418cb10084f95f75cf293 [ExecutionEngine] Add a static cast to the unittest for r241962 to suppress a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241974 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp b/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp index 284434e3c62..cd2bc561ccc 100644 --- a/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp +++ b/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp @@ -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(2)); EXPECT_FALSE(std::find(I, E, "Foo1") == E); EXPECT_FALSE(std::find(I, E, "Foo2") == E); }