summaryrefslogtreecommitdiff
path: root/ext/interbase
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-16 18:43:41 +0000
committerWez Furlong <wez@php.net>2002-03-16 18:43:41 +0000
commitb85096ffe9412ae0f718eb9d238066e81dd9c8bb (patch)
treec16df9dc41000d6c19add83a919429a9dc18ce44 /ext/interbase
parent5d0c53eecf5e720dd73d14c602a3df9c752e3a67 (diff)
downloadphp-git-b85096ffe9412ae0f718eb9d238066e81dd9c8bb.tar.gz
fix build problem for interbase
Diffstat (limited to 'ext/interbase')
-rw-r--r--ext/interbase/interbase.c3
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;