summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-24 16:13:48 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-24 16:13:48 +0000
commit24ee5f14716ae7722a19568074a260ddb05f4777 (patch)
treed99c57ec8f267683e96720dddd682577ee1b0ea3 /libffi
parentd28edf0d1574ee7a8fce59e7f53b2dd0f9b462b5 (diff)
downloadgcc-24ee5f14716ae7722a19568074a260ddb05f4777.tar.gz
2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/pyobjc-tc.c (main): Treat result value as of type ffi_arg. * testsuite/libffi.call/struct3.c (main): Fix CHECK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76513 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog6
-rw-r--r--libffi/testsuite/libffi.call/pyobjc-tc.c2
-rw-r--r--libffi/testsuite/libffi.call/struct3.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 863e7d1f421..24ec4f1256d 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * testsuite/libffi.call/pyobjc-tc.c (main): Treat result value
+ as of type ffi_arg.
+ * testsuite/libffi.call/struct3.c (main): Fix CHECK.
+
2004-01-22 Ulrich Weigand <uweigand@de.ibm.com>
* testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result
diff --git a/libffi/testsuite/libffi.call/pyobjc-tc.c b/libffi/testsuite/libffi.call/pyobjc-tc.c
index ac092de3327..017323cbc80 100644
--- a/libffi/testsuite/libffi.call/pyobjc-tc.c
+++ b/libffi/testsuite/libffi.call/pyobjc-tc.c
@@ -93,7 +93,7 @@ int main(void)
int o = 0;
int l = 42;
char* m = "myMethod";
- int result;
+ ffi_arg result;
values[0] = &o;
values[1] = &m;
diff --git a/libffi/testsuite/libffi.call/struct3.c b/libffi/testsuite/libffi.call/struct3.c
index c994b8fa3b2..e0bb09b0788 100644
--- a/libffi/testsuite/libffi.call/struct3.c
+++ b/libffi/testsuite/libffi.call/struct3.c
@@ -52,7 +52,7 @@ int main (void)
printf ("%d %d\n", ts3_result->si, -(compare_value*2));
- CHECK(ts3_result->si == -(ts3_arg.si*2));
+ CHECK(ts3_result->si == -(compare_value*2));
free (ts3_result);
exit(0);