diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-28 22:42:24 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-28 22:42:24 (GMT) |
commit | 10643b02982edd5bfc36a6ab8d6f84795a00c3a3 (patch) | |
tree | f33789fbfdb8d1abec2d691774062801c25a9561 /compat | |
parent | 745219e06c4a987b8ecd3ca4aa9551bc1a10bb4b (diff) | |
parent | b8a558a78ffc3cb87c6aa3a154a2daf4c2e88757 (diff) | |
download | tcl-10643b02982edd5bfc36a6ab8d6f84795a00c3a3.zip tcl-10643b02982edd5bfc36a6ab8d6f84795a00c3a3.tar.gz tcl-10643b02982edd5bfc36a6ab8d6f84795a00c3a3.tar.bz2 |
Fix a warning due to a missing const in an internal minzip function
Diffstat (limited to 'compat')
-rw-r--r-- | compat/zlib/contrib/minizip/minizip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compat/zlib/contrib/minizip/minizip.c b/compat/zlib/contrib/minizip/minizip.c index 2dd9f10..8a31582 100644 --- a/compat/zlib/contrib/minizip/minizip.c +++ b/compat/zlib/contrib/minizip/minizip.c @@ -70,8 +70,8 @@ #ifdef _WIN32 uLong filetime(f, tmzip, dt) - char *f; /* name of file to get info on */ - tm_zip *tmzip; /* return value: access, modific. and creation times */ + const char *f; /* name of file to get info on */ + tm_zip *tmzip; /* return value: access, modific. and creation times */ uLong *dt; /* dostime */ { int ret = 0; @@ -94,7 +94,7 @@ uLong filetime(f, tmzip, dt) #else #if defined(unix) || defined(__APPLE__) uLong filetime(f, tmzip, dt) - char *f; /* name of file to get info on */ + const char *f; /* name of file to get info on */ tm_zip *tmzip; /* return value: access, modific. and creation times */ uLong *dt; /* dostime */ { @@ -136,8 +136,8 @@ uLong filetime(f, tmzip, dt) } #else uLong filetime(f, tmzip, dt) - char *f; /* name of file to get info on */ - tm_zip *tmzip; /* return value: access, modific. and creation times */ + const char *f; /* name of file to get info on */ + tm_zip *tmzip; /* return value: access, modific. and creation times */ uLong *dt; /* dostime */ { return 0; |