From c129748675a5daa8838df92bde32cc04f6ce61ba Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 26 Jan 2009 14:33:13 +0200 Subject: [PATCH] Avoid hardcoded constant in easy.c. --- src/liblzma/common/easy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; };