diff options
Diffstat (limited to 'deflate.c')
-rw-r--r-- | deflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ struct static_tree_desc_s {int dummy;}; /* for buggy compilers */ | |||
156 | #endif | 156 | #endif |
157 | 157 | ||
158 | /* rank Z_BLOCK between Z_NO_FLUSH and Z_PARTIAL_FLUSH */ | 158 | /* rank Z_BLOCK between Z_NO_FLUSH and Z_PARTIAL_FLUSH */ |
159 | #define RANK(f) (((f) << 1) - ((f) > 4 ? 9 : 0)) | 159 | #define RANK(f) (((f) * 2) - ((f) > 4 ? 9 : 0)) |
160 | 160 | ||
161 | /* =========================================================================== | 161 | /* =========================================================================== |
162 | * Update a hash value with the given input byte | 162 | * Update a hash value with the given input byte |