Fixed warning of incompatible pointer

This commit is contained in:
Xinchen Hui 2016-01-23 22:49:15 -08:00
parent 65ef7f8c33
commit ae122bf7ad

View File

@ -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);