diff options
Diffstat (limited to 'libffi/src/sparc/ffi.c')
-rw-r--r-- | libffi/src/sparc/ffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/src/sparc/ffi.c b/libffi/src/sparc/ffi.c index 573fc84..3c71771 100644 --- a/libffi/src/sparc/ffi.c +++ b/libffi/src/sparc/ffi.c @@ -494,7 +494,7 @@ ffi_closure_sparc_inner(ffi_closure *closure, argn += ALIGN(arg_types[i]->size, SIZEOF_ARG) / SIZEOF_ARG; #ifdef SPARC64 - if (i < 6 && (arg_types[i]->type == FFI_TYPE_FLOAT + if (i < 16 && (arg_types[i]->type == FFI_TYPE_FLOAT || arg_types[i]->type == FFI_TYPE_DOUBLE #if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE || arg_types[i]->type == FFI_TYPE_LONGDOUBLE |