summaryrefslogtreecommitdiff
path: root/Zend/zend_ini.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-08-14 23:53:27 +0400
committerDmitry Stogov <dmitry@zend.com>2014-08-14 23:53:27 +0400
commitc78a1734c284fcd6805f6c8952c44a4b4887bd61 (patch)
tree7f4a3a981efee9b935291f469a1a2dd2dd8e2180 /Zend/zend_ini.c
parent243383a811c2ff8ce138ba3715cafbd907eba1de (diff)
downloadphp-git-c78a1734c284fcd6805f6c8952c44a4b4887bd61.tar.gz
Fixed compilation warnings
Diffstat (limited to 'Zend/zend_ini.c')
-rwxr-xr-x[-rw-r--r--]Zend/zend_ini.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_ini.c b/Zend/zend_ini.c
index 6232b8e2f1..c3a02d53a3 100644..100755
--- a/Zend/zend_ini.c
+++ b/Zend/zend_ini.c
@@ -231,9 +231,11 @@ ZEND_API void zend_unregister_ini_entries(int module_number TSRMLS_DC) /* {{{ */
/* }}} */
#ifdef ZTS
-static int zend_ini_refresh_cache(zval *el, int stage TSRMLS_DC) /* {{{ */
+static int zend_ini_refresh_cache(zval *el, void *arg TSRMLS_DC) /* {{{ */
{
zend_ini_entry *p = (zend_ini_entry *)Z_PTR_P(el);
+ int stage = (int)(zend_intptr_t)arg;
+
if (p->on_modify) {
p->on_modify(p, p->value, p->value_length, p->mh_arg1, p->mh_arg2, p->mh_arg3, stage TSRMLS_CC);
}