summaryrefslogtreecommitdiff
path: root/main/safe_mode.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-02-12 15:47:38 +0000
committerAndi Gutmans <andi@php.net>2001-02-12 15:47:38 +0000
commit033190cbcf8b195567145968e0c98df25481d19f (patch)
tree7df42b0fc054acb492ee862c7c69a8adef488c12 /main/safe_mode.c
parent488d8087487ae8c2bfdde7a76076bc1fa3564e70 (diff)
downloadphp-git-033190cbcf8b195567145968e0c98df25481d19f.tar.gz
- Fix warning
PR: Submitted by: Reviewed by: Obtained from:
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r--main/safe_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c
index d677a48977..fe2ac34fb6 100644
--- a/main/safe_mode.c
+++ b/main/safe_mode.c
@@ -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;
}
}