From 6811dbc4c8f71438c607656c7828718c93c4ed8f Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Wed, 19 Feb 2014 11:55:06 -0800 Subject: [PATCH] decode_with_drops.c: Cast away MSVC data loss warning. Change-Id: Ib8ee2b9a4cb785176ca1054489df5dced004837a --- examples/decode_with_drops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/decode_with_drops.c b/examples/decode_with_drops.c index c6f7d43b9..af1aa636b 100644 --- a/examples/decode_with_drops.c +++ b/examples/decode_with_drops.c @@ -120,7 +120,7 @@ int main(int argc, char **argv) { int skip; const unsigned char *frame = vpx_video_reader_get_frame(reader, &frame_size); - if (vpx_codec_decode(&codec, frame, frame_size, NULL, 0)) + if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) die_codec(&codec, "Failed to decode frame."); ++frame_cnt;