cvs: php4 /ext/xml xml.c

From: Date: Tue, 27 May 2003 00:50:00 +0000
Subject: cvs: php4 /ext/xml xml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21283@lists.php.net to get a copy of this message
iliaa Mon May 26 20:50:00 2003 EDT Modified files: /php4/ext/xml xml.c Log: Fix compiler warnings. Index: php4/ext/xml/xml.c diff -u php4/ext/xml/xml.c:1.127 php4/ext/xml/xml.c:1.128 --- php4/ext/xml/xml.c:1.127 Sun May 25 03:23:41 2003 +++ php4/ext/xml/xml.c Mon May 26 20:50:00 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: xml.c,v 1.127 2003/05/25 07:23:41 sebastian Exp $ */ +/* $Id: xml.c,v 1.128 2003/05/27 00:50:00 iliaa Exp $ */ #define IS_EXT_MODULE @@ -655,7 +655,7 @@ void _xml_startElementHandler(void *userData, const XML_Char *name, const XML_Char **attributes) { xml_parser *parser = (xml_parser *)userData; - const char **attrs = attributes; + const char **attrs = (const char **) attributes; char *tag_name; char *att, *val; int val_len; @@ -707,7 +707,7 @@ parser->ltags[parser->level-1] = estrdup(tag_name); parser->lastwasopen = 1; - attributes = attrs; + attributes = (const XML_Char **) attrs; while (attributes && *attributes) { att = _xml_decode_tag(parser, attributes[0]); @@ -1252,7 +1252,7 @@ ZEND_FETCH_RESOURCE(parser,xml_parser *, pind, -1, "XML Parser", le_xml_parser); xml_set_handler(&parser->externalEntityRefHandler, hdl); - XML_SetExternalEntityRefHandler(parser->parser, _xml_externalEntityRefHandler); + XML_SetExternalEntityRefHandler(parser->parser, (void *) _xml_externalEntityRefHandler); RETVAL_TRUE; } /* }}} */

« previous php.cvs (#21283) next »