From 9ba1d60bd1b0ff097b7fc88958be7ba7b589e7ca Mon Sep 17 00:00:00 2001 From: Yunqing Wang Date: Tue, 1 Jul 2014 08:58:05 -0700 Subject: [PATCH] Fix visual studio build issue Fixed the signed/unsigned mismatch. Change-Id: Id83d603b8f1745b71f4cf695a0751e55518b1316 --- vp9/encoder/vp9_encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 80a9351fc..94143d92f 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -1172,7 +1172,7 @@ static void set_source_var_based_partition(VP9_COMP *cpi, const int offset = (mi_row >> 1) * cm->mb_cols + (mi_col >> 1); int is_larger_better = 0; int use32x32 = 0; - int thr = cpi->source_var_thresh; + unsigned int thr = cpi->source_var_thresh; vpx_memset(d32, 0, 4 * sizeof(diff));