From b85096ffe9412ae0f718eb9d238066e81dd9c8bb Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 16 Mar 2002 18:43:41 +0000 Subject: [PATCH] fix build problem for interbase --- ext/interbase/interbase.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c index 22b2baf7ba..42b4a9905c 100644 --- a/ext/interbase/interbase.c +++ b/ext/interbase/interbase.c @@ -2870,7 +2870,6 @@ PHP_FUNCTION(ibase_blob_import) ibase_blob_handle ib_blob; ibase_db_link *ib_link; char bl_data[IBASE_BLOB_SEG]; /* FIXME? blob_seg_size parameter? */ - void * what; int type; php_stream * stream; @@ -2916,7 +2915,7 @@ PHP_FUNCTION(ibase_blob_import) size = 0; - while(b = php_stream_read((php_stream*)what, bl_data, 1, sizeof(bl_data)) > 0) { + while(b = php_stream_read(stream, bl_data, sizeof(bl_data)) > 0) { if (isc_put_segment(IB_STATUS, &ib_blob.bl_handle, b, bl_data)) { _php_ibase_error(); RETURN_FALSE; -- 2.50.1