]> gcc.gnu.org Git - gcc.git/commitdiff
pyobjc-tc.c (main): Treat result value as of type ffi_arg.
authorAndreas Tobler <a.tobler@schweiz.ch>
Sat, 24 Jan 2004 16:13:48 +0000 (17:13 +0100)
committerAndreas Tobler <andreast@gcc.gnu.org>
Sat, 24 Jan 2004 16:13:48 +0000 (17:13 +0100)
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.

From-SVN: r76513

libffi/ChangeLog
libffi/testsuite/libffi.call/pyobjc-tc.c
libffi/testsuite/libffi.call/struct3.c

index 863e7d1f4218c911e3885ff9b62d9d754ec4d2f0..24ec4f1256d4d68f43b19c6090bcd62c1d1223d0 100644 (file)
@@ -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
index ac092de332728366e7da0d3ca98360df622efdfd..017323cbc80672d7510a20c4a5a81a5c4d6c11e8 100644 (file)
@@ -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;
index c994b8fa3b21af0d4e78ef57d6189adb406f8691..e0bb09b078858f9d5ec91d8c2f4d6ec4075e6896 100644 (file)
@@ -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);
This page took 0.061612 seconds and 5 git commands to generate.