tony2001 Mon Aug 7 20:22:33 2006 UTC Modified files: /php-src/ext/dom node.c Log: fix types, add missing parentheses http://cvs.php.net/viewvc.cgi/php-src/ext/dom/node.c?r1=1.47&r2=1.48&diff_format=u Index: php-src/ext/dom/node.c diff -u php-src/ext/dom/node.c:1.47 php-src/ext/dom/node.c:1.48 --- php-src/ext/dom/node.c:1.47 Fri Aug 4 18:11:27 2006 +++ php-src/ext/dom/node.c Mon Aug 7 20:22:33 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: node.c,v 1.47 2006/08/04 18:11:27 rrichards Exp $ */ +/* $Id: node.c,v 1.48 2006/08/07 20:22:33 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1684,11 +1684,11 @@ xmlDocPtr docp; xmlNodeSetPtr nodeset = NULL; dom_object *intern; - long exclusive=0, with_comments=0, file_len=0; + zend_bool exclusive=0, with_comments=0; xmlChar **inclusive_ns_prefixes = NULL; char *file = NULL; - int ret = -1; - xmlOutputBufferPtr buf; + int ret = -1, file_len = 0; + xmlOutputBufferPtr buf; xmlXPathContextPtr ctxp=NULL; xmlXPathObjectPtr xpathobjp=NULL; zend_uchar file_type = IS_STRING; @@ -1750,7 +1750,7 @@ int xquery_len; if (zend_hash_find(ht, "query", sizeof("query"), (void**)&tmp) == SUCCESS && - Z_TYPE_PP(tmp) == IS_STRING || Z_TYPE_PP(tmp) == IS_UNICODE) { + (Z_TYPE_PP(tmp) == IS_STRING || Z_TYPE_PP(tmp) == IS_UNICODE)) { zxquery = tmp; /* if (Z_TYPE_PP(tmp) == IS_STRING) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php