From 5c90216d2ce8d8cc8d1453eee1a1e5099bd46631 Mon Sep 17 00:00:00 2001 From: David Hill Date: Thu, 6 Mar 2003 23:07:28 +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 c53eb0caf4..1031a578c8 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -1971,7 +1971,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); @@ -3565,7 +3566,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); @@ -3768,7 +3770,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; @@ -3854,7 +3857,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; @@ -5253,7 +5257,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