summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2016-01-24 03:57:17 -0800
committerXinchen Hui <laruence@gmail.com>2016-01-24 03:57:17 -0800
commit6d674b3d9128f8e13b1f43915e2bfe903e38f53c (patch)
treef6998f67c49d34574ee69f6079c370c7dced4964
parentd74cc3afcf4a3df3eb123546d471b2a58bbfc4d2 (diff)
parentae122bf7adf4f8b2df6b5acf316d16112587d921 (diff)
downloadphp-git-6d674b3d9128f8e13b1f43915e2bfe903e38f53c.tar.gz
Merge branch 'PHP-7.0'
-rw-r--r--ext/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 886a672303..2fb5334a9d 100644
--- a/ext/pdo/pdo_dbh.c
+++ b/ext/pdo/pdo_dbh.c
@@ -1329,7 +1329,7 @@ int pdo_hash_methods(pdo_dbh_object_t *dbh_obj, int kind)
func.num_args = 0;
func.required_num_args = 0;
}
- zend_set_function_arg_flags(&func);
+ zend_set_function_arg_flags((zend_function*)&func);
namelen = strlen(funcs->fname);
lc_name = emalloc(namelen+1);
zend_str_tolower_copy(lc_name, funcs->fname, namelen);