summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or1k/ffi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or1k/ffi.c b/src/or1k/ffi.c
index c8ed110..9451d4e 100644
--- a/src/or1k/ffi.c
+++ b/src/or1k/ffi.c
@@ -139,7 +139,7 @@ void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
{
ffi_type *at = cif->arg_types[i];
int size = at->size;
- if (at->type == FFI_TYPE_STRUCT && size > 4)
+ if (at->type == FFI_TYPE_STRUCT) /* && size > 4) All struct args? */
{
char *argcopy = alloca (size);
memcpy (argcopy, avalue[i], size);