cvs: php4 /main fopen-wrappers.c
| From: | Frank M. Kromann | Date: | Fri, 27 Oct 2000 16:16:56 +0000 |
| Subject: | cvs: php4 /main fopen-wrappers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2309@lists.php.net to get a copy of this message | ||
fmk Fri Oct 27 09:16:56 2000 EDT
Modified files:
/php4/main fopen-wrappers.c
Log:
Kill compiler warning.
Index: php4/main/fopen-wrappers.c
diff -u php4/main/fopen-wrappers.c:1.100 php4/main/fopen-wrappers.c:1.101
--- php4/main/fopen-wrappers.c:1.100 Sun Oct 22 07:42:55 2000
+++ php4/main/fopen-wrappers.c Fri Oct 27 09:16:55 2000
@@ -16,7 +16,7 @@
| Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: fopen-wrappers.c,v 1.100 2000/10/22 14:42:55 sas Exp $ */
+/* $Id: fopen-wrappers.c,v 1.101 2000/10/27 16:16:55 fmk Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -440,7 +440,7 @@
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;
}