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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/lls.h') diff --git a/libavutil/lls.h b/libavutil/lls.h index 4b197985a8..abaf4a7374 100644 --- a/libavutil/lls.h +++ b/libavutil/lls.h @@ -39,7 +39,7 @@ typedef struct LLSModel { void avpriv_init_lls(LLSModel *m, int indep_count); void avpriv_update_lls(LLSModel *m, double *param, 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); double avpriv_evaluate_lls(LLSModel *m, double *param, int order); #ifndef FF_API_LLS_PRIVATE -- cgit v1.2.3