Commit 130f4c50 by Kaz Kojima

ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned int.

	* src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned
	int.

From-SVN: r137883
parent 61945d8c
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> 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate. * configure: Regenerate.
......
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
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 SuperH Foreign Function Interface
...@@ -459,7 +460,7 @@ ffi_prep_closure_loc (ffi_closure* closure, ...@@ -459,7 +460,7 @@ ffi_prep_closure_loc (ffi_closure* closure,
void *codeloc) void *codeloc)
{ {
unsigned int *tramp; unsigned int *tramp;
unsigned short insn; unsigned int insn;
FFI_ASSERT (cif->abi == FFI_GCC_SYSV); FFI_ASSERT (cif->abi == FFI_GCC_SYSV);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment