aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJan Nijtmans <jan.nijtmans@gmail.com>2026-02-03 13:21:58 +0000
committerMark Adler <git@madler.net>2026-02-03 14:31:01 -0800
commit060c9e7c45f3ef736acffc35a8a83c52763f9a95 (patch)
tree2b7fdd08bc8c0edee9c2f26d5474d27242731f0a /contrib
parent9f25df2c80c2b26c8b050fba880f0851d9d243ea (diff)
downloadzlib-060c9e7c45f3ef736acffc35a8a83c52763f9a95.tar.gz
zlib-060c9e7c45f3ef736acffc35a8a83c52763f9a95.tar.bz2
zlib-060c9e7c45f3ef736acffc35a8a83c52763f9a95.zip
Remove all uses of the obsolete keyword "register".
Diffstat (limited to 'contrib')
-rw-r--r--contrib/minizip/crypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/minizip/crypt.h b/contrib/minizip/crypt.h
index f4b93b78..8bde464b 100644
--- a/contrib/minizip/crypt.h
+++ b/contrib/minizip/crypt.h
@@ -50,7 +50,7 @@ static int update_keys(unsigned long* pkeys, const z_crc_t* pcrc_32_tab, int c)
50 (*(pkeys+1)) += (*(pkeys+0)) & 0xff; 50 (*(pkeys+1)) += (*(pkeys+0)) & 0xff;
51 (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1; 51 (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1;
52 { 52 {
53 register int keyshift = (int)((*(pkeys+1)) >> 24); 53 int keyshift = (int)((*(pkeys+1)) >> 24);
54 (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift); 54 (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift);
55 } 55 }
56 return c; 56 return c;