diff options
author | Wez Furlong <wez@php.net> | 2002-03-16 18:43:41 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-16 18:43:41 +0000 |
commit | b85096ffe9412ae0f718eb9d238066e81dd9c8bb (patch) | |
tree | c16df9dc41000d6c19add83a919429a9dc18ce44 /ext/interbase | |
parent | 5d0c53eecf5e720dd73d14c602a3df9c752e3a67 (diff) | |
download | php-git-b85096ffe9412ae0f718eb9d238066e81dd9c8bb.tar.gz |
fix build problem for interbase
Diffstat (limited to 'ext/interbase')
-rw-r--r-- | ext/interbase/interbase.c | 3 |
1 files changed, 1 insertions, 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; |