summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-16 13:57:35 +0000
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-16 13:57:35 +0000
commit0733c867dfc4e68936b050eb0201e4be279fec5d (patch)
tree512bebd08679eb6ae23c2cf0e300c28bcd6b3ada /libffi
parent440e164f63d80757948a5671faa8223c7b956214 (diff)
downloadgcc-0733c867dfc4e68936b050eb0201e4be279fec5d.tar.gz
* src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned
int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137883 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog5
-rw-r--r--libffi/src/sh/ffi.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 05188245ea4..850bbd4b35b 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-16 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned
+ int.
+
2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
diff --git a/libffi/src/sh/ffi.c b/libffi/src/sh/ffi.c
index 0cb8c72ccf6..850fde0a022 100644
--- a/libffi/src/sh/ffi.c
+++ b/libffi/src/sh/ffi.c
@@ -1,5 +1,6 @@
/* -----------------------------------------------------------------------
- ffi.c - Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007 Kaz Kojima
+ ffi.c - Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
+ Kaz Kojima
SuperH Foreign Function Interface
@@ -459,7 +460,7 @@ ffi_prep_closure_loc (ffi_closure* closure,
void *codeloc)
{
unsigned int *tramp;
- unsigned short insn;
+ unsigned int insn;
FFI_ASSERT (cif->abi == FFI_GCC_SYSV);