diff options
Diffstat (limited to 'libffi/src/java_raw_api.c')
-rw-r--r-- | libffi/src/java_raw_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/src/java_raw_api.c b/libffi/src/java_raw_api.c index 9c5383e6d5a..522c8bfd67e 100644 --- a/libffi/src/java_raw_api.c +++ b/libffi/src/java_raw_api.c @@ -311,7 +311,7 @@ ffi_java_translate_args (ffi_cif *cif, void *rvalue, ffi_raw_closure *cl = (ffi_raw_closure*)user_data; ffi_java_ptrarray_to_raw (cif, avalue, raw); - (*cl->fun) (cif, rvalue, raw, cl->user_data); + (*cl->fun) (cif, rvalue, (ffi_raw*)raw, cl->user_data); ffi_java_raw_to_rvalue (cif, rvalue); } |