diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:53:58 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:53:58 +0000 |
commit | b997e3524d81c0d4d4176d96acc5891d9c4a43f3 (patch) | |
tree | bb0fbc6e5cd421af8073acbb3e3a0a318e402c9b /lzip.h | |
parent | Adding upstream version 1.4~pre1. (diff) | |
download | plzip-b997e3524d81c0d4d4176d96acc5891d9c4a43f3.tar.xz plzip-b997e3524d81c0d4d4176d96acc5891d9c4a43f3.zip |
Adding upstream version 1.4~rc1.upstream/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; |