diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-31 23:32:24 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-31 23:32:24 +0000 |
commit | 15cb7ca02194742fcbd5609a8f177966a1c33b5d (patch) | |
tree | 11fbc9bb8d40c46a9a1c196f1346985465776d48 /ext/zlib | |
parent | 4b00c6b697dabbaa89b199befcb95d187837db6c (diff) | |
download | php-git-15cb7ca02194742fcbd5609a8f177966a1c33b5d.tar.gz |
Fix some warnings
Diffstat (limited to 'ext/zlib')
-rw-r--r-- | ext/zlib/php_zlib.h | 2 | ||||
-rw-r--r-- | ext/zlib/zlib_fopen_wrapper.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/php_zlib.h b/ext/zlib/php_zlib.h index d4fe9af97d..22432c4a1b 100644 --- a/ext/zlib/php_zlib.h +++ b/ext/zlib/php_zlib.h @@ -64,7 +64,7 @@ PHP_FUNCTION(gzinflate); PHP_FUNCTION(gzencode); PHP_FUNCTION(ob_gzhandler); -FILE *zlib_fopen_wrapper(char *path, char *mode, int options, int *issock, int *socketd, char **opened_path TSRMLS_DC); +FILE *zlib_fopen_wrapper(const char *path, char *mode, int options, int *issock, int *socketd, char **opened_path TSRMLS_DC); int php_enable_output_compression(int buffer_size); diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c index f9328025eb..5ab4dead5d 100644 --- a/ext/zlib/zlib_fopen_wrapper.c +++ b/ext/zlib/zlib_fopen_wrapper.c @@ -59,7 +59,7 @@ static COOKIE_IO_FUNCTIONS_T gz_cookie_functions = , gz_closer }; -FILE *zlib_fopen_wrapper(char *path, char *mode, int options, int *issock, int *socketd, char **opened_path TSRMLS_DC) +FILE *zlib_fopen_wrapper(const char *path, char *mode, int options, int *issock, int *socketd, char **opened_path TSRMLS_DC) { struct gz_cookie *gc = NULL; FILE *fp; |