From: Antony Dovgal Date: Fri, 20 Feb 2004 12:47:56 +0000 (+0000) Subject: this should really fix compile failure with gcc 2.96 X-Git-Tag: RELEASE_0_2_0~251 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7837416c2b5f306fb336bf901754c484dacee0d9;p=php this should really fix compile failure with gcc 2.96 --- 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;