* avoid warning
authorMichael Wallner <mike@php.net>
Tue, 22 Feb 2005 12:41:33 +0000 (12:41 +0000)
committerMichael Wallner <mike@php.net>
Tue, 22 Feb 2005 12:41:33 +0000 (12:41 +0000)
http.c

diff --git a/http.c b/http.c
index a26e2d11158f1c972e8d6e92b095e3d865a60677..4f375f709ff38db43dbc33e06d69edb820fe6430 100644 (file)
--- a/http.c
+++ b/http.c
@@ -785,7 +785,7 @@ zend_object_value _httpi_request_new_object(zend_class_entry *ce TSRMLS_DC)
        zend_hash_init(OBJ_PROP(o), 0, NULL, ZVAL_PTR_DTOR, 0);
        zend_hash_copy(OBJ_PROP(o), &ce->default_properties, (copy_ctor_func_t) zval_add_ref, NULL, sizeof(zval *));
 
-       ov.handle = zend_objects_store_put(o, zend_objects_destroy_object, httpi_request_free_object, NULL TSRMLS_CC);
+       ov.handle = zend_objects_store_put(o, (zend_objects_store_dtor_t) zend_objects_destroy_object, httpi_request_free_object, NULL TSRMLS_CC);
        ov.handlers = &httpi_request_object_handlers;
 
        return ov;