diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 14:59:16 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 14:59:16 +0000 |
commit | f55abdbcd36dd61c5896cbb799d0cc28095e87a7 (patch) | |
tree | eb53586003c8f716664af95cfadd231ae47842c7 /lzip.h | |
parent | Adding upstream version 1.6~rc1. (diff) | |
download | pdlzip-f55abdbcd36dd61c5896cbb799d0cc28095e87a7.tar.xz pdlzip-f55abdbcd36dd61c5896cbb799d0cc28095e87a7.zip |
Adding upstream version 1.6.upstream/1.6
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
@@ -164,10 +164,10 @@ static inline bool Fh_set_dictionary_size( File_header data, const unsigned sz ) if( sz > min_dictionary_size ) { const unsigned base_size = 1 << data[5]; - const unsigned wedge = base_size / 16; + const unsigned fraction = base_size / 16; int i; for( i = 7; i >= 1; --i ) - if( base_size - ( i * wedge ) >= sz ) + if( base_size - ( i * fraction ) >= sz ) { data[5] |= ( i << 5 ); break; } } return true; |