summaryrefslogtreecommitdiff
path: root/libffi/src/powerpc/ffi_darwin.c
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2009-12-03 01:32:21 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2009-12-02 20:32:21 -0500
commit7837c24708194d304676da713eadece368270fcc (patch)
tree53e68a817a7393c5836bbb97e89f469e31866d19 /libffi/src/powerpc/ffi_darwin.c
parent315df37387d4a57c40c20c2857404abfc56f5aa3 (diff)
downloadgcc-7837c24708194d304676da713eadece368270fcc.tar.gz
ffi_darwin.c (ffi_prep_args): Fix typo in INT64 case.
* src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64 case. From-SVN: r154932
Diffstat (limited to 'libffi/src/powerpc/ffi_darwin.c')
-rw-r--r--libffi/src/powerpc/ffi_darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/src/powerpc/ffi_darwin.c b/libffi/src/powerpc/ffi_darwin.c
index 53dbdb2b244..01550a396d8 100644
--- a/libffi/src/powerpc/ffi_darwin.c
+++ b/libffi/src/powerpc/ffi_darwin.c
@@ -183,7 +183,7 @@ void ffi_prep_args(extended_cif *ecif, unsigned long *const stack)
case FFI_TYPE_UINT64:
case FFI_TYPE_SINT64:
#ifdef POWERPC64
- gprvalue = *(long long *) p_argv;
+ gprvalue = *(long long *) *p_argv;
goto putgpr;
#else
*(long long *) next_arg = *(long long *) *p_argv;