summaryrefslogtreecommitdiffstats
path: root/src/util/ziptool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/ziptool.cpp')
-rw-r--r--src/util/ziptool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/ziptool.cpp b/src/util/ziptool.cpp
index 7f2654876..fc13b836f 100644
--- a/src/util/ziptool.cpp
+++ b/src/util/ziptool.cpp
@@ -1230,7 +1230,7 @@ void Deflater::encodeDistStatic(unsigned int len, unsigned int dist)
}
bool found = false;
- for (int i=0 ; i<30 ; i++)
+ for (int i=0 ; i<29 ; i++)
{
unsigned int base = lenBases[i].base;
unsigned int range = lenBases[i].range;