From: Sterling Hughes Date: Thu, 6 Sep 2001 22:51:47 +0000 (+0000) Subject: no need to cast a 'HashTable *' to 'HashTable *' X-Git-Tag: PRE_SUBST_Z_MACROS~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=198e6f3ea7bc031f9c8b7d43b8ef97f7a0680514;p=php no need to cast a 'HashTable *' to 'HashTable *' --- diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 6619bf4519..151fab0056 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -713,7 +713,7 @@ CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, memcpy(per_dir_entry.value, arg2, per_dir_entry.value_length); per_dir_entry.value[per_dir_entry.value_length] = 0; - zend_hash_update((HashTable *) conf, per_dir_entry.key, per_dir_entry.key_length, &per_dir_entry, sizeof(php_per_dir_entry), NULL); + zend_hash_update(conf, per_dir_entry.key, per_dir_entry.key_length, &per_dir_entry, sizeof(php_per_dir_entry), NULL); return NULL; } /* }}} */