]> granicus.if.org Git - php/commitdiff
no need to cast a 'HashTable *' to 'HashTable *'
authorSterling Hughes <sterling@php.net>
Thu, 6 Sep 2001 22:51:47 +0000 (22:51 +0000)
committerSterling Hughes <sterling@php.net>
Thu, 6 Sep 2001 22:51:47 +0000 (22:51 +0000)
sapi/apache/mod_php4.c

index 6619bf45195164abed47e36a54a82115f057f744..151fab0056157e391b42180ef8cea9a4494168a4 100644 (file)
@@ -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;
 }
 /* }}} */