summaryrefslogtreecommitdiffstats
path: root/lzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:53:58 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:53:58 +0000
commitb997e3524d81c0d4d4176d96acc5891d9c4a43f3 (patch)
treebb0fbc6e5cd421af8073acbb3e3a0a318e402c9b /lzip.h
parentAdding upstream version 1.4~pre1. (diff)
downloadplzip-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lzip.h b/lzip.h
index 7b4f591..e9724cc 100644
--- a/lzip.h
+++ b/lzip.h
@@ -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;