From: Tom Finegan Date: Wed, 19 Feb 2014 19:58:28 +0000 (-0800) Subject: postproc.c: Cast away MSVC data loss warning. X-Git-Tag: v1.4.0~2325^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3c521e14307f7218c5405b5274f873e9f5c84f5;p=libvpx postproc.c: Cast away MSVC data loss warning. Change-Id: Ib80d4f394692a981e369dc5fecd5432cbec488d1 --- diff --git a/examples/postproc.c b/examples/postproc.c index 2912fe6de..be08e920b 100644 --- a/examples/postproc.c +++ b/examples/postproc.c @@ -118,7 +118,7 @@ int main(int argc, char **argv) { }; // Decode the frame with 15ms deadline - if (vpx_codec_decode(&codec, frame, frame_size, NULL, 15000)) + if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 15000)) die_codec(&codec, "Failed to decode frame"); while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {