1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

silence a warning.

llvm-svn: 69117
This commit is contained in:
Chris Lattner 2009-04-15 00:16:05 +00:00
parent f2b9c22687
commit 1e863d93e9

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 {