From: Yaowu Xu Date: Mon, 12 May 2014 17:01:00 +0000 (-0700) Subject: fixed comparison of different int types. X-Git-Tag: v1.4.0~1610^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7145e3f7975a95c6c510443a51c874a23a4f1c61;p=libvpx fixed comparison of different int types. Change-Id: Iaa5543eb9e17589d46d9ed2bc363e2646ed4e01e --- diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index cc2c552a7..52f958fcb 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -761,7 +761,7 @@ static void cal_nmvsadcosts_hp(int *mvsadcost[2]) { VP9_COMP *vp9_create_compressor(VP9EncoderConfig *oxcf) { - int i, j; + unsigned int i, j; VP9_COMP *const cpi = vpx_memalign(32, sizeof(VP9_COMP)); VP9_COMMON *const cm = cpi != NULL ? &cpi->common : NULL; @@ -1054,7 +1054,7 @@ VP9_COMP *vp9_create_compressor(VP9EncoderConfig *oxcf) { } void vp9_remove_compressor(VP9_COMP *cpi) { - int i; + unsigned int i; if (!cpi) return;