From 860a928eca622f8785946345df7d5ec5a8b0a485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Pawe=C5=82=20Stefaniak?= <3462925+pstef@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:49:04 +0100 Subject: [PATCH] Remove a register keyword that resurfaced with the recent version update. --- unzip/crypt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unzip/crypt.h b/unzip/crypt.h index f4b93b78..8bde464b 100644 --- a/unzip/crypt.h +++ b/unzip/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;