aboutsummaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2007-04-06 14:30:27 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-04-06 14:30:27 +0000
commit8669fed1d7c2b534694dfd00ba7eea088739ca6a (patch)
treec37d128f243700a32d9438a3ddf882db0d984164 /libffi
parentb00d7439654d3f4d4de1a597c3932e68a8008212 (diff)
downloadgcc-8669fed1d7c2b534694dfd00ba7eea088739ca6a.zip
gcc-8669fed1d7c2b534694dfd00ba7eea088739ca6a.tar.gz
gcc-8669fed1d7c2b534694dfd00ba7eea088739ca6a.tar.bz2
re PR libffi/31491 (libffi: bug in example program)
PR libffi/31491: * README: Fixed bug in example. From-SVN: r123617
Diffstat (limited to 'libffi')
-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 */