From: Frank M. Kromann Date: Fri, 27 Oct 2000 16:16:55 +0000 (+0000) Subject: Kill compiler warning. X-Git-Tag: php-4.0.4RC3~489 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02537bd2f2deb90e36afc3167ff2a7c7bfe510c3;p=php Kill compiler warning. --- diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 62a3bb5cd3..6aaa1bd5ad 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -440,7 +440,7 @@ static FILE *php_fopen_url_wrapper(const char *path, char *mode, int options, in if(protocol) { php_fopen_url_wrapper_t *wrapper=NULL; - if(FAILURE==zend_hash_find(&fopen_url_wrappers_hash, protocol, n, (void **)&wrapper)) { + if(FAILURE==zend_hash_find(&fopen_url_wrappers_hash, (char *)protocol, n, (void **)&wrapper)) { wrapper=NULL; protocol=NULL; }