summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorgahr <gahr@gahr.ch>2019-06-27 15:47:33 (GMT)
committergahr <gahr@gahr.ch>2019-06-27 15:47:33 (GMT)
commitb8a558a78ffc3cb87c6aa3a154a2daf4c2e88757 (patch)
tree487c3c0a39b05cd1380f9f7e0d5e3a243e99b6b0 /compat
parent676acf8712a40961b9a0da4f60a31c3a1a2cf0ab (diff)
downloadtcl-b8a558a78ffc3cb87c6aa3a154a2daf4c2e88757.zip
tcl-b8a558a78ffc3cb87c6aa3a154a2daf4c2e88757.tar.gz
tcl-b8a558a78ffc3cb87c6aa3a154a2daf4c2e88757.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.c10
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;