summaryrefslogtreecommitdiff
path: root/Zend/zend_ini.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-11-06 23:40:48 +0000
committerSascha Schumann <sas@php.net>2000-11-06 23:40:48 +0000
commit5360d782786526bd513793f6c2e6d46c2236d530 (patch)
tree52e9a61c56046030075fc277ad5433c45de245b3 /Zend/zend_ini.c
parentae6314468f9814eb1d14aba8bd4fbce0b34ea612 (diff)
downloadphp-git-5360d782786526bd513793f6c2e6d46c2236d530.tar.gz
Kill a misleading warning which is intended for old code
which assumes sizeof(int) == sizeof(void *).
Diffstat (limited to 'Zend/zend_ini.c')
-rw-r--r--Zend/zend_ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_ini.c b/Zend/zend_ini.c
index eab625efde..7ee1a5d5e2 100644
--- a/Zend/zend_ini.c
+++ b/Zend/zend_ini.c
@@ -158,7 +158,7 @@ static int zend_ini_refresh_cache(zend_ini_entry *p, int stage)
ZEND_API void zend_ini_refresh_caches(int stage)
{
- zend_hash_apply_with_argument(&known_directives, (int (*)(void *, void *)) zend_ini_refresh_cache, (void *) stage);
+ zend_hash_apply_with_argument(&known_directives, (int (*)(void *, void *)) zend_ini_refresh_cache, (void *)(long) stage);
}