From 55320ca1b867434e0d61d3d72a31424804db6c57 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 3 May 2010 19:29:05 +0000 Subject: [PATCH] - fix build (declaration must be first) --- ext/oci8/oci8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 74a3e00f1f..58ade41fa5 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1638,10 +1638,10 @@ sb4 php_oci_fetch_errmsg(OCIError *error_handle, text **error_buf TSRMLS_DC) */ int php_oci_fetch_sqltext_offset(php_oci_statement *statement, text **sqltext, ub2 *error_offset TSRMLS_DC) { - *sqltext = NULL; - *error_offset = 0; sword errstatus; + *sqltext = NULL; + *error_offset = 0; PHP_OCI_CALL_RETURN(errstatus, OCIAttrGet, ((dvoid *)statement->stmt, OCI_HTYPE_STMT, (dvoid *) sqltext, (ub4 *)0, OCI_ATTR_STATEMENT, statement->err)); if (errstatus != OCI_SUCCESS) { -- 2.40.0