summaryrefslogtreecommitdiffstats
path: root/lzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:59:24 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 14:59:24 +0000
commitf684d748fd905cee03438d433ccc56f759ce26a4 (patch)
tree62e519f2e95deb4df3917f4144f1310744d0331b /lzip.h
parentAdding debian version 1.6~rc1-1. (diff)
downloadpdlzip-f684d748fd905cee03438d433ccc56f759ce26a4.tar.xz
pdlzip-f684d748fd905cee03438d433ccc56f759ce26a4.zip
Merging upstream version 1.6.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lzip.h')
-rw-r--r--lzip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lzip.h b/lzip.h
index f99edba..3b8d172 100644
--- a/lzip.h
+++ b/lzip.h
@@ -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;