silence a warning.

llvm-svn: 69117
This commit is contained in:
Chris Lattner 2009-04-15 00:16:05 +00:00
parent 32d17a1a29
commit 0813c0c34c
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ static void HandleTopLevelExpression() {
// Cast it to the right type (takes no arguments, returns a double) so we
// can call it as a native function.
double (*FP)() = (double (*)())FPtr;
double (*FP)() = (double (*)())(intptr_t)FPtr;
fprintf(stderr, "Evaluated to %f\n", FP());
}
} else {