/* { dg-do run { xfail mips64*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
#include "ffitest.h"
-static void cls_ret_sint_fn(ffi_cif* cif,void* resp,void** args,
- void* userdata)
+static void cls_ret_sint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
+ void* userdata __UNUSED__)
{
*(ffi_arg*)resp = *(signed int *)args[0];
printf("%d: %d\n",*(signed int *)args[0],
- *(ffi_arg*)resp);
+ (int)*(ffi_arg *)(resp));
}
typedef signed int (*cls_ret_sint)(signed int);