From fdf3bfa71f127b7cff97d10c09fdbdad23f21f3d Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Wed, 19 Feb 2014 10:59:40 -0800 Subject: [PATCH] decode_to_md5.c: Silence warning with cast. More size_t/unsigned int disagreement. Change-Id: I2be01ee680f852f168f6fcac554a534ca3c83e5d --- examples/decode_to_md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/decode_to_md5.c b/examples/decode_to_md5.c index aabac60ee..28d1ad569 100644 --- a/examples/decode_to_md5.c +++ b/examples/decode_to_md5.c @@ -115,7 +115,7 @@ int main(int argc, char **argv) { size_t frame_size = 0; 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"); while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) {