OSDN Git Service

PR libffi/31491:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2007 14:30:27 +0000 (14:30 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2007 14:30:27 +0000 (14:30 +0000)
* README: Fixed bug in example.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123617 138bc75d-0d04-0410-961f-82ee72b054a4

libffi/ChangeLog
libffi/README

index f47682e..4d5a8b8 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 4711077..f426c9d 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 */