File gcc48-aarch64-bsc948168.patch of Package gcc48.10984

Index: libffi/src/aarch64/ffi.c
===================================================================
--- libffi/src/aarch64/ffi.c	(revision 224829)
+++ libffi/src/aarch64/ffi.c	(working copy)
@@ -668,7 +668,7 @@ aarch64_prep_args (struct call_context *
 	      state.ngrn = N_X_ARG_REG;
 
 	      memcpy (allocate_to_stack (&state, stack, ty->alignment,
-					 ty->size), ecif->avalue + i, ty->size);
+					 ty->size), ecif->avalue[i], ty->size);
 	    }
 	  break;