|
8 | 8 | This file is part of bzip2/libbzip2, a program and library for |
9 | 9 | lossless, block-sorting data compression. |
10 | 10 |
|
11 | | - bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
12 | | - Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 11 | + bzip2/libbzip2 version 1.0.8 of 13 July 2019 |
| 12 | + Copyright (C) 1996-2019 Julian Seward <jseward@acm.org> |
13 | 13 |
|
14 | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
15 | 15 | README file. |
@@ -202,9 +202,9 @@ void fallbackQSort3 ( UInt32* fmap, |
202 | 202 | bhtab [ 0 .. 2+(nblock/32) ] destroyed |
203 | 203 | */ |
204 | 204 |
|
205 | | -#define SET_BH(zz) bhtab[(zz) >> 5] |= (1U << ((zz) & 31)) |
206 | | -#define CLEAR_BH(zz) bhtab[(zz) >> 5] &= ~(1U << ((zz) & 31)) |
207 | | -#define ISSET_BH(zz) (bhtab[(zz) >> 5] & (1U << ((zz) & 31))) |
| 205 | +#define SET_BH(zz) bhtab[(zz) >> 5] |= ((UInt32)1 << ((zz) & 31)) |
| 206 | +#define CLEAR_BH(zz) bhtab[(zz) >> 5] &= ~((UInt32)1 << ((zz) & 31)) |
| 207 | +#define ISSET_BH(zz) (bhtab[(zz) >> 5] & ((UInt32)1 << ((zz) & 31))) |
208 | 208 | #define WORD_BH(zz) bhtab[(zz) >> 5] |
209 | 209 | #define UNALIGNED_BH(zz) ((zz) & 0x01f) |
210 | 210 |
|
@@ -477,7 +477,7 @@ Bool mainGtU ( UInt32 i1, |
477 | 477 | usually small, typically <= 20. |
478 | 478 | --*/ |
479 | 479 | static |
480 | | -const Int32 incs[14] = { 1, 4, 13, 40, 121, 364, 1093, 3280, |
| 480 | +Int32 incs[14] = { 1, 4, 13, 40, 121, 364, 1093, 3280, |
481 | 481 | 9841, 29524, 88573, 265720, |
482 | 482 | 797161, 2391484 }; |
483 | 483 |
|
|
0 commit comments