diff options
author | Anthony Green <green@moxielogic.com> | 2010-07-23 09:14:00 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2010-07-23 09:14:00 -0400 |
commit | d14178be4c49c3ada44a9fe9efe11d444372ddab (patch) | |
tree | ad3ccae8704bff17f7b4b43b5cc4ff4af67c366a /src/cris | |
parent | 3f5b1375ab1e2b8e3d593e21b27097a4a50f9b83 (diff) | |
download | libffi-d14178be4c49c3ada44a9fe9efe11d444372ddab.tar.gz |
FFI_LAST_ABI fix
Diffstat (limited to 'src/cris')
-rw-r--r-- | src/cris/ffi.c | 2 | ||||
-rw-r--r-- | src/cris/ffitarget.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cris/ffi.c b/src/cris/ffi.c index e9c3953..f25d7b4 100644 --- a/src/cris/ffi.c +++ b/src/cris/ffi.c @@ -163,7 +163,7 @@ ffi_prep_cif (ffi_cif * cif, ffi_type **ptr; FFI_ASSERT (cif != NULL); - FFI_ASSERT ((abi > FFI_FIRST_ABI) && (abi <= FFI_DEFAULT_ABI)); + FFI_ASSERT (abi > FFI_FIRST_ABI && abi < FFI_LAST_ABI); cif->abi = abi; cif->arg_types = atypes; diff --git a/src/cris/ffitarget.h b/src/cris/ffitarget.h index 4257f10..0e3705d 100644 --- a/src/cris/ffitarget.h +++ b/src/cris/ffitarget.h @@ -34,8 +34,8 @@ typedef signed long ffi_sarg; typedef enum ffi_abi { FFI_FIRST_ABI = 0, FFI_SYSV, - FFI_DEFAULT_ABI = FFI_SYSV, - FFI_LAST_ABI = FFI_DEFAULT_ABI + 1 + FFI_LAST_ABI, + FFI_DEFAULT_ABI = FFI_SYSV } ffi_abi; #endif |