]> granicus.if.org Git - php/commitdiff
- Fix warning
authorMarcus Boerger <helly@php.net>
Mon, 28 Feb 2005 18:44:14 +0000 (18:44 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 28 Feb 2005 18:44:14 +0000 (18:44 +0000)
ext/pdo/pdo_dbh.c

index f537faf9cdf082d78e69847748b34b18c5fd78bd..f39b04e71fa38c51b22254c06b3fbeb706d3f954 100755 (executable)
@@ -1194,7 +1194,7 @@ zend_object_value pdo_dbh_new(zend_class_entry *ce TSRMLS_DC)
        ALLOC_HASHTABLE(dbh->properties);
        zend_hash_init(dbh->properties, 0, NULL, ZVAL_PTR_DTOR, 0);
        
-       retval.handle = zend_objects_store_put(dbh, zend_objects_destroy_object, pdo_dbh_free_storage, NULL TSRMLS_CC);
+       retval.handle = zend_objects_store_put(dbh, (zend_objects_store_dtor_t)zend_objects_destroy_object, pdo_dbh_free_storage, NULL TSRMLS_CC);
        retval.handlers = &pdo_dbh_object_handlers;
 
        return retval;