diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-03-18 22:50:49 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-03-18 22:50:49 +0000 |
commit | 7b6747ed420ef32d5c12f62833c2b5ad1c46d604 (patch) | |
tree | e32d3d527f8e43d64c000362760fed9fa3b25ce7 | |
parent | 0082830cb26248178fe5cc9bbdbd00881556c33d (diff) | |
download | external_llvm-7b6747ed420ef32d5c12f62833c2b5ad1c46d604.zip external_llvm-7b6747ed420ef32d5c12f62833c2b5ad1c46d604.tar.gz external_llvm-7b6747ed420ef32d5c12f62833c2b5ad1c46d604.tar.bz2 |
Silence a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127918 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/ExecutionEngine/MCJIT/MCJIT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/lib/ExecutionEngine/MCJIT/MCJIT.cpp index 2b5ec5d..5eda88d 100644 --- a/lib/ExecutionEngine/MCJIT/MCJIT.cpp +++ b/lib/ExecutionEngine/MCJIT/MCJIT.cpp @@ -109,6 +109,6 @@ GenericValue MCJIT::runFunction(Function *F, void *FPtr = getPointerToFunction(F); if (!FPtr) report_fatal_error("Unable to locate function: '" + F->getName() + "'"); - ((void(*)(void))FPtr)(); + ((void(*)(void))(intptr_t)FPtr)(); return GenericValue(); } |