Silence a warning.

llvm-svn: 127918
This commit is contained in:
Jim Grosbach 2011-03-18 22:50:49 +00:00
parent 1d2f5cebe4
commit 54140eb568
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}