cvs: php-src /ext/simplexml simplexml.c
| From: | Marcus Boerger | Date: | Tue, 01 Jul 2003 00:49:25 +0000 |
| Subject: | cvs: php-src /ext/simplexml simplexml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22206@lists.php.net to get a copy of this message | ||
helly Mon Jun 30 20:49:25 2003 EDT
Modified files:
/php-src/ext/simplexml simplexml.c
Log:
Fix warnings
Index: php-src/ext/simplexml/simplexml.c
diff -u php-src/ext/simplexml/simplexml.c:1.46 php-src/ext/simplexml/simplexml.c:1.47
--- php-src/ext/simplexml/simplexml.c:1.46 Sun Jun 29 23:11:03 2003
+++ php-src/ext/simplexml/simplexml.c Mon Jun 30 20:49:25 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: simplexml.c,v 1.46 2003/06/30 03:11:03 sterling Exp $ */
+/* $Id: simplexml.c,v 1.47 2003/07/01 00:49:25 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -88,7 +88,7 @@
prefix = xmlHashLookup(sxe->nsmap, node->ns->href);
if (prefix == NULL) {
- prefix = node->ns->prefix;
+ prefix = (xmlChar*)node->ns->prefix;
}
if (prefix == NULL) {
@@ -801,7 +801,7 @@
}
-static zend_object_handlers sxe_object_handlers[] = {
+static zend_object_handlers sxe_object_handlers = {
ZEND_OBJECTS_STORE_HANDLERS,
sxe_property_read,
sxe_property_write,
@@ -1059,7 +1059,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "Simplexml support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.46 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.47 $");
php_info_print_table_end();
}