summaryrefslogtreecommitdiff
path: root/libffi/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'libffi/testsuite')
-rw-r--r--libffi/testsuite/libffi.special/unwindtest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libffi/testsuite/libffi.special/unwindtest.cc b/libffi/testsuite/libffi.special/unwindtest.cc
index 97b1536b214..b6be367857a 100644
--- a/libffi/testsuite/libffi.special/unwindtest.cc
+++ b/libffi/testsuite/libffi.special/unwindtest.cc
@@ -37,9 +37,9 @@ void closure_test_fn1(ffi_cif* cif,void* resp,void** args,
(int)(*(int *)args[10]), (int)(*(float *)args[11]),
(int)*(int *)args[12], (int)(*(int *)args[13]),
(int)(*(int *)args[14]), *(int *)args[15],
- (int)(long)userdata, *(int*)resp);
+ (int)(long)userdata, (int)*(ffi_arg*)resp);
- throw *(int*)resp;
+ throw (int)*(ffi_arg*)resp;
}
typedef int (*closure_test_type1)(float, float, float, float, signed short,