helly Wed Feb 4 16:04:39 2004 EDT
Modified files:
/php-src/ext/xsl php_xsl.c
Log:
Fix Warning
http://cvs.php.net/diff.php/php-src/ext/xsl/php_xsl.c?r1=1.19&r2=1.20&ty=u
Index: php-src/ext/xsl/php_xsl.c
diff -u php-src/ext/xsl/php_xsl.c:1.19 php-src/ext/xsl/php_xsl.c:1.20
--- php-src/ext/xsl/php_xsl.c:1.19 Wed Feb 4 06:14:47 2004
+++ php-src/ext/xsl/php_xsl.c Wed Feb 4 16:04:39 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_xsl.c,v 1.19 2004/02/04 11:14:47 zeev Exp $ */
+/* $Id: php_xsl.c,v 1.20 2004/02/04 21:04:39 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -119,7 +119,7 @@
zend_hash_copy(intern->std.properties, &class_type->default_properties,
(copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *));
ALLOC_HASHTABLE(intern->parameter);
zend_hash_init(intern->parameter, 0, NULL, ZVAL_PTR_DTOR, 0);
- retval.handle = zend_objects_store_put(intern, NULL, xsl_objects_free_storage,
xsl_objects_clone TSRMLS_CC);
+ retval.handle = zend_objects_store_put(intern, NULL,
(zend_objects_free_object_storage_t) xsl_objects_free_storage, xsl_objects_clone
TSRMLS_CC);
intern->handle = retval.handle;
retval.handlers = &xsl_object_handlers;
return retval;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php