diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-01-22 21:14:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-22 21:14:53 +0000 |
commit | ebfec1c531f32d424bb2aca6e7391ef3bfcbfe20 (patch) | |
tree | d017ab5fcc15f2eef851de089c3b2aef39d7a387 /src/crypt_zip.c | |
parent | 3d79f0a4309995956bd8889940cca22f7a15881d (diff) |
patch 9.0.1234: the code style has to be checked manuallyv9.0.1234
Problem: The code style has to be checked manually.
Solution: Add basic code style checks in a test. Fix or avoid uncovered
problems.
Diffstat (limited to 'src/crypt_zip.c')
-rw-r--r-- | src/crypt_zip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crypt_zip.c b/src/crypt_zip.c index b11d7a329f..91bbd7ba10 100644 --- a/src/crypt_zip.c +++ b/src/crypt_zip.c @@ -60,7 +60,8 @@ make_crc_tab(void) /* * Return the next byte in the pseudo-random sequence. */ -#define DECRYPT_BYTE_ZIP(keys, t) { \ +#define DECRYPT_BYTE_ZIP(keys, t) \ +{ \ short_u temp = (short_u)keys[2] | 2; \ t = (int)(((unsigned)(temp * (temp ^ 1U)) >> 8) & 0xff); \ } |