aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libffi/ChangeLog5
-rw-r--r--libffi/README2
2 files changed, 6 insertions, 1 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index f47682e9..4d5a8b8 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -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.
diff --git a/libffi/README b/libffi/README
index 4711077..f426c9d 100644
--- a/libffi/README
+++ b/libffi/README
@@ -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 */