summaryrefslogtreecommitdiff
path: root/libffi/testsuite/libffi.call
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-24 07:48:37 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-24 07:48:37 +0000
commit5766842b8e95700cfb9f16f971793f8080cd56ee (patch)
tree4e18d4e9791d77d08b398e75b12c7e32ae503e8c /libffi/testsuite/libffi.call
parent33e3141db12836305e2f3cf54ec7958a05e5ac37 (diff)
downloadgcc-5766842b8e95700cfb9f16f971793f8080cd56ee.tar.gz
2004-04-24 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/cls_multi_schar.c (main): Fix initialization error. Reported by Thomas Heller <theller@python.net>. * testsuite/libffi.call/cls_multi_sshort.c (main): Likewise. * testsuite/libffi.call/cls_multi_ushort.c (main): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81131 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/testsuite/libffi.call')
-rw-r--r--libffi/testsuite/libffi.call/cls_multi_schar.c2
-rw-r--r--libffi/testsuite/libffi.call/cls_multi_sshort.c2
-rw-r--r--libffi/testsuite/libffi.call/cls_multi_ushort.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libffi/testsuite/libffi.call/cls_multi_schar.c b/libffi/testsuite/libffi.call/cls_multi_schar.c
index 6457336661f..30a89e6284e 100644
--- a/libffi/testsuite/libffi.call/cls_multi_schar.c
+++ b/libffi/testsuite/libffi.call/cls_multi_schar.c
@@ -55,7 +55,7 @@ int main (void)
args_dbl[0] = &a;
args_dbl[1] = &b;
- args_dbl[3] = NULL;
+ args_dbl[2] = NULL;
cl_arg_types[0] = &ffi_type_schar;
cl_arg_types[1] = &ffi_type_schar;
diff --git a/libffi/testsuite/libffi.call/cls_multi_sshort.c b/libffi/testsuite/libffi.call/cls_multi_sshort.c
index eaa15d8cdc1..e19c8b85dd8 100644
--- a/libffi/testsuite/libffi.call/cls_multi_sshort.c
+++ b/libffi/testsuite/libffi.call/cls_multi_sshort.c
@@ -55,7 +55,7 @@ int main (void)
args_dbl[0] = &a;
args_dbl[1] = &b;
- args_dbl[3] = NULL;
+ args_dbl[2] = NULL;
cl_arg_types[0] = &ffi_type_sshort;
cl_arg_types[1] = &ffi_type_sshort;
diff --git a/libffi/testsuite/libffi.call/cls_multi_ushort.c b/libffi/testsuite/libffi.call/cls_multi_ushort.c
index e6ae9aa0755..7ef7b005fae 100644
--- a/libffi/testsuite/libffi.call/cls_multi_ushort.c
+++ b/libffi/testsuite/libffi.call/cls_multi_ushort.c
@@ -55,7 +55,7 @@ int main (void)
args_dbl[0] = &a;
args_dbl[1] = &b;
- args_dbl[3] = NULL;
+ args_dbl[2] = NULL;
cl_arg_types[0] = &ffi_type_ushort;
cl_arg_types[1] = &ffi_type_ushort;