forked from OSchip/llvm-project
parent
32d17a1a29
commit
0813c0c34c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue