diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-21 06:11:09 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-21 06:11:09 +0000 |
commit | c886ae3f66df13730b19cc97b80751dd2573340a (patch) | |
tree | cbf3b9bff07cd5974f1e4a729cb58ce34d0ad467 /libffi/src/x86 | |
parent | 8d2c7825fcd65e5d52db86d0d3e724b2172c8b4e (diff) | |
download | gcc-c886ae3f66df13730b19cc97b80751dd2573340a.tar.gz |
2004-01-21 Michael Ritzert <ritzert@t-online.de>
* ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead
of the LHS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76261 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/x86')
-rw-r--r-- | libffi/src/x86/ffi64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/src/x86/ffi64.c b/libffi/src/x86/ffi64.c index 905ed6f1b87..343ee925fde 100644 --- a/libffi/src/x86/ffi64.c +++ b/libffi/src/x86/ffi64.c @@ -288,7 +288,7 @@ ffi_prep_args (stackLayout *stack, extended_cif *ecif) gprcount = ssecount = 0; if (ecif->cif->rtype->type != FFI_TYPE_VOID && examine_argument (ecif->cif->rtype, 1, &g, &s) == 0) - (void *)stack->gpr[gprcount++] = ecif->rvalue; + stack->gpr[gprcount++] = (long) ecif->rvalue; for (i=ecif->cif->nargs, p_arg=ecif->cif->arg_types, p_argv = ecif->avalue; i!=0; i--, p_arg++, p_argv++) |