mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
zend_hash_find() treats this argument as const, but fails to declare
the function properly.
This commit is contained in:
parent
c5e776ec2d
commit
79fd4ad841
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user