summaryrefslogtreecommitdiffstats
path: root/lzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:54:05 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:54:05 +0000
commit5a87b49919eeb1c5931666b4f1a0350ae2abad3e (patch)
tree7b387774b833a60f49125c1b6a787bd4c43a690b /lzip.h
parentAdding debian version 1.4~pre1-1. (diff)
downloadplzip-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.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;