From 02537bd2f2deb90e36afc3167ff2a7c7bfe510c3 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Fri, 27 Oct 2000 16:16:55 +0000 Subject: [PATCH] Kill compiler warning. --- main/fopen_wrappers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0