From: Michael Wallner Date: Tue, 22 Feb 2005 12:41:33 +0000 (+0000) Subject: * avoid warning X-Git-Tag: RELEASE_0_5_1~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=9c0124dcd3865c1231c82c8a7d31f0a5144ee95c;p=m6w6%2Fext-http * avoid warning --- diff --git a/http.c b/http.c index a26e2d1..4f375f7 100644 --- 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;