]> granicus.if.org Git - php/commitdiff
Kill a misleading warning which is intended for old code
authorSascha Schumann <sas@php.net>
Mon, 6 Nov 2000 23:40:48 +0000 (23:40 +0000)
committerSascha Schumann <sas@php.net>
Mon, 6 Nov 2000 23:40:48 +0000 (23:40 +0000)
which assumes sizeof(int) == sizeof(void *).

Zend/zend_ini.c

index eab625efde81713fe585242c1685acfb24e686a4..7ee1a5d5e21aea7b832651f8b4c7afc3fec0a9f3 100644 (file)
@@ -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);
 }