diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:54:05 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:54:05 +0000 |
commit | 5a87b49919eeb1c5931666b4f1a0350ae2abad3e (patch) | |
tree | 7b387774b833a60f49125c1b6a787bd4c43a690b /lzip.h | |
parent | Adding debian version 1.4~pre1-1. (diff) | |
download | plzip-5a87b49919eeb1c5931666b4f1a0350ae2abad3e.tar.xz plzip-5a87b49919eeb1c5931666b4f1a0350ae2abad3e.zip |
Merging upstream version 1.4~rc1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lzip.h')
-rw-r--r-- | lzip.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -97,9 +97,9 @@ struct File_header if( sz > min_dictionary_size ) { const unsigned base_size = 1 << data[5]; - const unsigned wedge = base_size / 16; + const unsigned fraction = base_size / 16; for( int i = 7; i >= 1; --i ) - if( base_size - ( i * wedge ) >= sz ) + if( base_size - ( i * fraction ) >= sz ) { data[5] |= ( i << 5 ); break; } } return true; |