From a6d0972c05b12240e30d49f9803ebb0d6db30c01 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 1 Jul 2003 00:49:25 +0000 Subject: [PATCH] Fix warnings --- ext/simplexml/simplexml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 6d00ab9f95..bc9c616369 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -88,7 +88,7 @@ match_ns(php_sxe_object *sxe, xmlNodePtr node, xmlChar *name) 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 @@ sxe_object_get(zval *property TSRMLS_DC) } -static zend_object_handlers sxe_object_handlers[] = { +static zend_object_handlers sxe_object_handlers = { ZEND_OBJECTS_STORE_HANDLERS, sxe_property_read, sxe_property_write, -- 2.40.0