diff options
-rw-r--r-- | rts/Interpreter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Interpreter.c b/rts/Interpreter.c index 581238c36a..00aced17f9 100644 --- a/rts/Interpreter.c +++ b/rts/Interpreter.c @@ -1913,7 +1913,7 @@ run_BCO: void *argptrs[nargs]; void (*fn)(void); - if (cif->rtype->type == FFI_TYPE_VOID) { + if (cif->rtype == &ffi_type_void) { // necessary because cif->rtype->size == 1 for void, // but the bytecode generator has not pushed a // placeholder in this case. |