From: Sascha Schumann Date: Mon, 6 Nov 2000 23:40:48 +0000 (+0000) Subject: Kill a misleading warning which is intended for old code X-Git-Tag: php-4.0.4RC3~290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5360d782786526bd513793f6c2e6d46c2236d530;p=php Kill a misleading warning which is intended for old code which assumes sizeof(int) == sizeof(void *). --- 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); }