summaryrefslogtreecommitdiffstats
path: root/fast_encoder.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-06-03 15:51:30 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-06-03 15:52:13 +0000
commit26842cda16e2279235d6b27454b4390268eff32a (patch)
tree2842269e1d2332d2ee5f774e6b3be7f14adeb0c2 /fast_encoder.cc
parentAdding debian version 1.18~pre1-1. (diff)
downloadlzip-26842cda16e2279235d6b27454b4390268eff32a.tar.xz
lzip-26842cda16e2279235d6b27454b4390268eff32a.zip
Merging upstream version 1.18.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'fast_encoder.cc')
-rw-r--r--fast_encoder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/fast_encoder.cc b/fast_encoder.cc
index 90361e9..939259f 100644
--- a/fast_encoder.cc
+++ b/fast_encoder.cc
@@ -1,5 +1,5 @@
/* Lzip - LZMA lossless data compressor
- Copyright (C) 2008-2015 Antonio Diaz Diaz.
+ Copyright (C) 2008-2016 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -81,7 +81,7 @@ int FLZ_encoder::longest_match_len( int * const distance )
bool FLZ_encoder::encode_member( const unsigned long long member_size )
{
const unsigned long long member_size_limit =
- member_size - File_trailer::size() - max_marker_size;
+ member_size - File_trailer::size - max_marker_size;
int rep = 0;
int reps[num_rep_distances];
State state;