4d6c708
--- libffi-3.1/src/aarch64/ffi.c.orig	2014-04-25 18:45:13.000000000 +0100
4d6c708
+++ libffi-3.1/src/aarch64/ffi.c	2015-01-15 02:36:56.314906455 +0000
4d6c708
@@ -728,7 +728,7 @@
4d6c708
 	      state.ngrn = N_X_ARG_REG;
4d6c708
 
4d6c708
 	      memcpy (allocate_to_stack (&state, stack, ty->alignment,
4d6c708
-					 ty->size), ecif->avalue + i, ty->size);
4d6c708
+					 ty->size), ecif->avalue[i], ty->size);
4d6c708
 	    }
4d6c708
 	  break;
4d6c708