summaryrefslogtreecommitdiffstats
path: root/compat/zlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-15 21:47:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-15 21:47:03 (GMT)
commit7ab31a033508f2d3cc00bdbe28aef55c188f52cd (patch)
treed897270ba2573a47d1ac6a972f7bc5d672755468 /compat/zlib
parent8be498883b3dc64f676cee505d300aa8a111f321 (diff)
downloadtcl-7ab31a033508f2d3cc00bdbe28aef55c188f52cd.zip
tcl-7ab31a033508f2d3cc00bdbe28aef55c188f52cd.tar.gz
tcl-7ab31a033508f2d3cc00bdbe28aef55c188f52cd.tar.bz2
C++ doesn't accept "register" keyword
Diffstat (limited to 'compat/zlib')
-rw-r--r--compat/zlib/contrib/minizip/crypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/zlib/contrib/minizip/crypt.h b/compat/zlib/contrib/minizip/crypt.h
index f4b93b7..8bde464 100644
--- a/compat/zlib/contrib/minizip/crypt.h
+++ b/compat/zlib/contrib/minizip/crypt.h
@@ -50,7 +50,7 @@ static int update_keys(unsigned long* pkeys, const z_crc_t* pcrc_32_tab, int c)
(*(pkeys+1)) += (*(pkeys+0)) & 0xff;
(*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1;
{
- register int keyshift = (int)((*(pkeys+1)) >> 24);
+ int keyshift = (int)((*(pkeys+1)) >> 24);
(*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift);
}
return c;