iliaa Wed Feb 4 09:15:19 2004 EDT
Modified files:
/php-src/ext/dom php_dom.c
Log:
Fixed compile warnings.
http://cvs.php.net/diff.php/php-src/ext/dom/php_dom.c?r1=1.50&r2=1.51&ty=u
Index: php-src/ext/dom/php_dom.c
diff -u php-src/ext/dom/php_dom.c:1.50 php-src/ext/dom/php_dom.c:1.51
--- php-src/ext/dom/php_dom.c:1.50 Wed Feb 4 06:14:31 2004
+++ php-src/ext/dom/php_dom.c Wed Feb 4 09:15:16 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_dom.c,v 1.50 2004/02/04 11:14:31 zeev Exp $ */
+/* $Id: php_dom.c,v 1.51 2004/02/04 14:15:16 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -830,7 +830,7 @@
intern = dom_objects_set_class(class_type TSRMLS_CC);
- retval.handle = zend_objects_store_put(intern, NULL, dom_objects_free_storage,
dom_objects_clone TSRMLS_CC);
+ retval.handle = zend_objects_store_put(intern, NULL,
(zend_objects_free_object_storage_t)dom_objects_free_storage, dom_objects_clone
TSRMLS_CC);
intern->handle = retval.handle;
retval.handlers = &dom_object_handlers;
@@ -847,7 +847,7 @@
intern = dom_objects_set_class(class_type TSRMLS_CC);
- retval.handle = zend_objects_store_put(intern, NULL,
dom_xpath_objects_free_storage, dom_objects_clone TSRMLS_CC);
+ retval.handle = zend_objects_store_put(intern, NULL,
(zend_objects_free_object_storage_t)dom_xpath_objects_free_storage, dom_objects_clone
TSRMLS_CC);
intern->handle = retval.handle;
retval.handlers = &dom_object_handlers;
@@ -900,7 +900,7 @@
objmap->local = NULL;
objmap->ns = NULL;
- retval.handle = zend_objects_store_put(intern, NULL,
dom_nnodemap_objects_free_storage, dom_objects_clone TSRMLS_CC);
+ retval.handle = zend_objects_store_put(intern, NULL,
(zend_objects_free_object_storage_t)dom_nnodemap_objects_free_storage,
dom_objects_clone TSRMLS_CC);
intern->handle = retval.handle;
retval.handlers = &dom_object_handlers;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php