From: Yunqing Wang <yunqingwang@google.com> Date: Tue, 1 Jul 2014 15:58:05 +0000 (-0700) Subject: Fix visual studio build issue X-Git-Tag: v1.4.0~1290^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ba1d60bd1b0ff097b7fc88958be7ba7b589e7ca;p=libvpx Fix visual studio build issue Fixed the signed/unsigned mismatch. Change-Id: Id83d603b8f1745b71f4cf695a0751e55518b1316 --- 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));