OSDN Git Service

2004-01-24 Andreas Tobler <a.tobler@schweiz.ch>
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Jan 2004 16:13:48 +0000 (16:13 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Jan 2004 16:13:48 +0000 (16:13 +0000)
* 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

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

index 863e7d1..24ec4f1 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 ac092de..017323c 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 c994b8f..e0bb09b 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);