From 560119c4bcbf8299dfa696d6bb8ac06df5415f78 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Wed, 19 Feb 2014 16:13:15 -0800 Subject: [PATCH] vp8_set_maps.c: Silence signed/unsigned mismatch MSVC warnings. Use unsigned loop counters in set_roi_map() and set_active_map(). Change-Id: I9bbaed38b51ef73b82ba4ad4c4bc18ca5d2399f9 --- examples/vp8_set_maps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vp8_set_maps.c b/examples/vp8_set_maps.c index ec9bc65f5..f3cc9a768 100644 --- a/examples/vp8_set_maps.c +++ b/examples/vp8_set_maps.c @@ -62,7 +62,7 @@ void usage_exit() { static void set_roi_map(const vpx_codec_enc_cfg_t *cfg, vpx_codec_ctx_t *codec) { - int i; + unsigned int i; vpx_roi_map_t roi = {0}; roi.rows = cfg->g_h / 16; @@ -95,7 +95,7 @@ static void set_roi_map(const vpx_codec_enc_cfg_t *cfg, static void set_active_map(const vpx_codec_enc_cfg_t *cfg, vpx_codec_ctx_t *codec) { - int i; + unsigned int i; vpx_active_map_t map = {0}; map.rows = cfg->g_h / 16;