From 399663be9d4a839b894c48a21b62926eb8497d72 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Mon, 25 Feb 2013 10:37:39 +0100 Subject: lls: mark max_order as unsigned short The value is within 0 and 32. Remove an `array subscript is below array bounds` warning. --- libavutil/lls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/lls.c') diff --git a/libavutil/lls.c b/libavutil/lls.c index 645e528744..a26b3c23d9 100644 --- a/libavutil/lls.c +++ b/libavutil/lls.c @@ -48,7 +48,7 @@ void avpriv_update_lls(LLSModel *m, double *var, double decay) } } -void avpriv_solve_lls(LLSModel *m, double threshold, int min_order) +void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order) { int i, j, k; double (*factor)[MAX_VARS + 1] = (void *) &m->covariance[1][0]; -- cgit v1.2.3