summaryrefslogtreecommitdiff
path: root/ext/oci8
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2004-02-20 12:47:56 +0000
committerAntony Dovgal <tony2001@php.net>2004-02-20 12:47:56 +0000
commit7837416c2b5f306fb336bf901754c484dacee0d9 (patch)
tree76be40546c02ac816aecb848840dc1aec6f32a09 /ext/oci8
parent8747289066c13384605ff030546045c24a567195 (diff)
downloadphp-git-7837416c2b5f306fb336bf901754c484dacee0d9.tar.gz
this should really fix compile failure with gcc 2.96
Diffstat (limited to 'ext/oci8')
-rw-r--r--ext/oci8/oci8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 4f511c340c..76cb139e00 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -836,9 +836,9 @@ static void _oci_define_hash_dtor(void *data)
*/
static void _oci_desc_flush_hash_dtor(void *data)
{
+ oci_descriptor *descr = *(oci_descriptor **)data;
TSRMLS_FETCH();
- oci_descriptor *descr = *(oci_descriptor **)data;
if (descr->buffering == 2 && (descr->type == OCI_DTYPE_LOB || descr->type == OCI_DTYPE_FILE)) {
oci_lob_flush(descr,OCI_LOB_BUFFER_FREE TSRMLS_CC);
descr->buffering = 1;