summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2002-08-19 20:47:55 +0000
committerZeev Suraski <zeev@php.net>2002-08-19 20:47:55 +0000
commitbc906117bba35c95ebdb6a13428fd1f9669133fb (patch)
treee43b5b303999d38f8055e79bb80b14251e7c1c6a /main/fopen_wrappers.c
parentdf4fdeb54e8b1ebb00ffd53e69e2b5572f8433d2 (diff)
downloadphp-git-bc906117bba35c95ebdb6a13428fd1f9669133fb.tar.gz
Fix a few warnings
Diffstat (limited to 'main/fopen_wrappers.c')
-rw-r--r--main/fopen_wrappers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c
index a4c3ca4f9b..ecfbc067be 100644
--- a/main/fopen_wrappers.c
+++ b/main/fopen_wrappers.c
@@ -88,7 +88,7 @@
When open_basedir is NULL, always return 0
*/
-PHPAPI int php_check_specific_open_basedir(char *basedir, char *path TSRMLS_DC)
+PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path TSRMLS_DC)
{
char resolved_name[MAXPATHLEN];
char resolved_basedir[MAXPATHLEN];
@@ -135,7 +135,7 @@ PHPAPI int php_check_specific_open_basedir(char *basedir, char *path TSRMLS_DC)
/* {{{ php_check_open_basedir
*/
-PHPAPI int php_check_open_basedir(char *path TSRMLS_DC)
+PHPAPI int php_check_open_basedir(const char *path TSRMLS_DC)
{
/* Only check when open_basedir is available */
if (PG(open_basedir) && *PG(open_basedir)) {