summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-02-28 18:44:14 +0000
committerMarcus Boerger <helly@php.net>2005-02-28 18:44:14 +0000
commiteb330a95f666a57d1ef4d1de70f264640bf1a19f (patch)
tree2a66055aa5ff9b8c17c33b9ad1a2d4a9b9dcab3b
parentd072f6de544ec82cd76c4466fd12febde92c8cb1 (diff)
downloadphp-git-eb330a95f666a57d1ef4d1de70f264640bf1a19f.tar.gz
- Fix warning
-rwxr-xr-xext/pdo/pdo_dbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c
index f537faf9cd..f39b04e71f 100755
--- a/ext/pdo/pdo_dbh.c
+++ b/ext/pdo/pdo_dbh.c
@@ -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;