re PR libffi/31491 (libffi: bug in example program)

PR libffi/31491:
	* README: Fixed bug in example.

From-SVN: r123617
This commit is contained in:
Tom Tromey 2007-04-06 14:30:27 +00:00 committed by Tom Tromey
parent b00d743965
commit 8669fed1d7
2 changed files with 6 additions and 1 deletions

View 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.

View 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 */