summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-11-06 23:36:15 +0000
committerSascha Schumann <sas@php.net>2000-11-06 23:36:15 +0000
commit79fd4ad841fa2bda0437559133ec3f8e73507f4d (patch)
treebf1058af125c7e80000ce59e08beb305bfe0cc97 /main
parentc5e776ec2d31abce0af11aaf1e69f0c308186396 (diff)
downloadphp-git-79fd4ad841fa2bda0437559133ec3f8e73507f4d.tar.gz
zend_hash_find() treats this argument as const, but fails to declare
the function properly.
Diffstat (limited to 'main')
-rw-r--r--main/php_logos.c2
1 files changed, 1 insertions, 1 deletions
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;