From: Sascha Schumann Date: Mon, 6 Nov 2000 23:36:15 +0000 (+0000) Subject: zend_hash_find() treats this argument as const, but fails to declare X-Git-Tag: php-4.0.4RC3~292 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79fd4ad841fa2bda0437559133ec3f8e73507f4d;p=php zend_hash_find() treats this argument as const, but fails to declare the function properly. --- diff --git a/main/php_logos.c b/main/php_logos.c index aa66843d60..25871b8124 100644 --- a/main/php_logos.c +++ b/main/php_logos.c @@ -74,7 +74,7 @@ int php_info_logos(const char *logo_string) char *content_header; int len; - if(FAILURE==zend_hash_find(&phpinfo_logo_hash,logo_string,strlen(logo_string),(void **)&logo_image)) + if(FAILURE==zend_hash_find(&phpinfo_logo_hash,(char *) logo_string,strlen(logo_string),(void **)&logo_image)) return 0; len=strlen(CONTENT_TYPE_HEADER)+logo_image->mimelen;