aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-01-26 14:33:13 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-01-26 14:33:13 +0200
commitc129748675a5daa8838df92bde32cc04f6ce61ba (patch)
tree4d557151b3075220a07314110cc24994fc742ac0 /src/liblzma/common
parentTiny bit better sanity check in block_util.c (diff)
downloadxz-c129748675a5daa8838df92bde32cc04f6ce61ba.tar.xz
Avoid hardcoded constant in easy.c.
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/easy.c b/src/liblzma/common/easy.c
index 2294ba70..718fffdd 100644
--- a/src/liblzma/common/easy.c
+++ b/src/liblzma/common/easy.c
@@ -28,7 +28,7 @@ struct lzma_coder_s {
/// We need to keep the filters array available in case
/// LZMA_FULL_FLUSH is used.
- lzma_filter filters[5];
+ lzma_filter filters[LZMA_FILTERS_MAX + 1];
};