summaryrefslogtreecommitdiff
path: root/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
diff options
context:
space:
mode:
authortduehr <tduehr@gmail.com>2015-03-19 16:44:33 -0700
committertduehr <tduehr@gmail.com>2015-06-17 09:01:47 -0500
commite9d07620ae8ac090863998d22ab7ca0db9cd1e89 (patch)
treeba0c75a8e11e88123926cb9817a3bb0a7c1b157b /ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
parent194784d60f53e242a8aab88c216126785dc047dd (diff)
downloadffi-libffi-3.2.1.tar.gz
update libffilibffi-3.2.1
Diffstat (limited to 'ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c')
-rw-r--r--ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c b/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
index 2539273..bf60161 100644
--- a/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
+++ b/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
@@ -13,10 +13,10 @@ int main (void)
ffi_cif cif;
ffi_type* arg_types[1];
- arg_types[0] = NULL;
-
ffi_type badType = ffi_type_void;
+ arg_types[0] = NULL;
+
badType.size = 0;
CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 0, &badType,