diff options
Diffstat (limited to 'src/moxie/ffi.c')
-rw-r--r-- | src/moxie/ffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moxie/ffi.c b/src/moxie/ffi.c index 41e20fe..1a65660 100644 --- a/src/moxie/ffi.c +++ b/src/moxie/ffi.c @@ -245,7 +245,7 @@ void ffi_closure_eabi (unsigned arg1, unsigned arg2, unsigned arg3, start looking at the those passed on the stack. */ if (ptr == (char *) ®ister_args[6]) ptr = stack_args; - else if (ptr == (register_args + sizeof(register_args))) + else if (ptr == (char *) ®ister_args[7]) ptr = stack_args + 4; } |