diff --git a/Formula/lib/libffi.rb b/Formula/lib/libffi.rb index f74ca76e435fc..ceafcb6fbc6ca 100644 --- a/Formula/lib/libffi.rb +++ b/Formula/lib/libffi.rb @@ -41,10 +41,9 @@ def install #include /* Acts like puts with the file given at time of enclosure. */ - void puts_binding(ffi_cif *cif, unsigned int *ret, void* args[], - FILE *stream) + void puts_binding(ffi_cif *cif, void *ret, void** args, void *stream) { - *ret = fputs(*(char **)args[0], stream); + *(unsigned int *)ret = fputs(*(char **)args[0], (FILE *)stream); } int main()