diff options
author | Lang Hames <lhames@gmail.com> | 2015-07-11 02:07:28 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2015-07-11 02:07:28 +0000 |
commit | b7a1176eed41bb13aea468e6ec443d5e18d5db67 (patch) | |
tree | afa70bc1745902a8317f8cbd99b0cbbfbce68a61 /llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp | |
parent | 78bd9e58482369620311e402c59d95db70fa8850 (diff) | |
download | bcm5719-llvm-b7a1176eed41bb13aea468e6ec443d5e18d5db67.tar.gz bcm5719-llvm-b7a1176eed41bb13aea468e6ec443d5e18d5db67.zip |
[ExecutionEngine] Add a static cast to the unittest for r241962 to suppress a
warning.
llvm-svn: 241974
Diffstat (limited to 'llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp')
-rw-r--r-- | llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp index 284434e3c62..cd2bc561ccc 100644 --- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp +++ b/llvm/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<size_t>(2)); EXPECT_FALSE(std::find(I, E, "Foo1") == E); EXPECT_FALSE(std::find(I, E, "Foo2") == E); } |