From 8669fed1d7c2b534694dfd00ba7eea088739ca6a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 6 Apr 2007 14:30:27 +0000 Subject: [PATCH] re PR libffi/31491 (libffi: bug in example program) PR libffi/31491: * README: Fixed bug in example. From-SVN: r123617 --- libffi/ChangeLog | 5 +++++ libffi/README | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libffi/ChangeLog b/libffi/ChangeLog index f47682e9b5f..4d5a8b82203 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2007-04-06 Tom Tromey + + PR libffi/31491: + * README: Fixed bug in example. + 2007-04-03 Jakub Jelinek * src/closures.c: Include sys/statfs.h. diff --git a/libffi/README b/libffi/README index 471107700ca..f426c9df1e9 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 */