re PR libffi/31491 (libffi: bug in example program)
authorTom Tromey <tromey@redhat.com>
Fri, 6 Apr 2007 14:30:27 +0000 (14:30 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 6 Apr 2007 14:30:27 +0000 (14:30 +0000)
PR libffi/31491:
* README: Fixed bug in example.

From-SVN: r123617

libffi/ChangeLog
libffi/README

index f47682e9b5fd60f23bde5c4a6d57f83a013a9c33..4d5a8b82203c0f3d1b9b32f77e9dccebbd76546e 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-06  Tom Tromey  <tromey@redhat.com>
+
+       PR libffi/31491:
+       * README: Fixed bug in example.
+
 2007-04-03  Jakub Jelinek  <jakub@redhat.com>
 
        * src/closures.c: Include sys/statfs.h.
index 471107700cafa8953c6d9d264f25e571f426a693..f426c9df1e9d543df8ed1a38a0682fdf76179e93 100644 (file)
@@ -212,7 +212,7 @@ Here is a trivial example that calls puts() a few times.
       int rc;
       
       /* Initialize the argument info vectors */    
-      args[0] = &ffi_type_uint;
+      args[0] = &ffi_type_pointer;
       values[0] = &s;
       
       /* Initialize the cif */