diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-01-26 14:33:13 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-01-26 14:33:13 +0200 |
commit | c129748675a5daa8838df92bde32cc04f6ce61ba (patch) | |
tree | 4d557151b3075220a07314110cc24994fc742ac0 /src/liblzma | |
parent | Tiny bit better sanity check in block_util.c (diff) | |
download | xz-c129748675a5daa8838df92bde32cc04f6ce61ba.tar.xz |
Avoid hardcoded constant in easy.c.
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/common/easy.c | 2 |
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]; }; |