From 45a1a3037a258080040b57e7f31f7e6fe2bd967e Mon Sep 17 00:00:00 2001 From: David Hill Date: Fri, 7 Mar 2003 13:42:30 +0000 Subject: 64-bit correction to variables passed to zend_parse_parameters @64-bit correction to variables passed to zend_parse_parameters (Dave) --- ext/domxml/php_domxml.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'ext/domxml/php_domxml.c') diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 35ea98d739..31e2c259f2 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -1967,7 +1967,8 @@ PHP_FUNCTION(domxml_clone_node) zval *rv = NULL; zval *id; xmlNode *n, *node; - int ret, recursive = 0;; + int ret; + long recursive = 0; DOMXML_GET_THIS_OBJ(n, id, le_domxmlnodep); @@ -3558,7 +3559,8 @@ PHP_FUNCTION(domxml_doc_imported_node) zval *arg1, *id, *rv = NULL; xmlNodePtr node, srcnode; xmlDocPtr docp; - int ret, recursive = 0; + int ret; + long recursive = 0; DOMXML_GET_THIS_OBJ(docp, id, le_domxmldocp); @@ -3764,7 +3766,8 @@ PHP_FUNCTION(xmldoc) int ret; char *buffer; int buffer_len; - int mode = 0, prevSubstValue; + long mode = 0; + int prevSubstValue; int oldvalue = xmlDoValidityCheckingDefaultValue; int oldvalue_keepblanks; int prevLoadExtDtdValue = xmlLoadExtDtdDefaultValue; @@ -3850,7 +3853,8 @@ PHP_FUNCTION(xmldocfile) xmlDoc *docp = NULL; int ret, file_len; char *file; - int mode = 0, prevSubstValue; + long mode = 0; + int prevSubstValue; int oldvalue = xmlDoValidityCheckingDefaultValue; int oldvalue_keepblanks; zval *errors = NULL; @@ -5211,7 +5215,8 @@ PHP_FUNCTION(domxml_xslt_result_dump_file) xmlDocPtr xmldocp; char *filename; int filename_len; - int ret, compression = 0; + int ret; + long compression = 0; DOMXML_GET_THIS(idxsl); -- cgit v1.2.1