]> granicus.if.org Git - php/commitdiff
- Fix warning
authorAndi Gutmans <andi@php.net>
Mon, 12 Feb 2001 15:47:38 +0000 (15:47 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 12 Feb 2001 15:47:38 +0000 (15:47 +0000)
PR:
Submitted by:
Reviewed by:
Obtained from:

main/safe_mode.c

index d677a4897703474ed9e1e0ffde17e87df014ff82..fe2ac34fb6dd56a19f58a8908302288d0ff56cad 100644 (file)
@@ -124,7 +124,7 @@ PHPAPI int php_checkuid(const char *filename, char *fopen_mode, int mode)
                SLS_FETCH();
 
                if (SG(rfc1867_uploaded_files)) {
-                       if (zend_hash_exists(SG(rfc1867_uploaded_files),filename,strlen(filename)+1)) {
+                       if (zend_hash_exists(SG(rfc1867_uploaded_files), (char *) filename, strlen(filename)+1)) {
                                return 1;
                        }
                }