From: James Zern Date: Wed, 25 Jun 2014 05:44:24 +0000 (-0700) Subject: decode_test_driver: fix type size warning X-Git-Tag: v1.4.0~1338^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aff720f8c5d9143c91bd6278f3e360beb4b6ef85;p=libvpx decode_test_driver: fix type size warning like vpx_codec_decode(), vpx_codec_peek_stream_info() takes an unsigned int, not size_t, parameter for buffer size Change-Id: I4ce0e1fbbde461c2e1b8fcbaac3cd203ed707460 --- diff --git a/test/decode_test_driver.cc b/test/decode_test_driver.cc index 655b09055..cd1a79569 100644 --- a/test/decode_test_driver.cc +++ b/test/decode_test_driver.cc @@ -19,7 +19,8 @@ const char kVP8Name[] = "WebM Project VP8"; vpx_codec_err_t Decoder::PeekStream(const uint8_t *cxdata, size_t size, vpx_codec_stream_info_t *stream_info) { - return vpx_codec_peek_stream_info(CodecInterface(), cxdata, size, + return vpx_codec_peek_stream_info(CodecInterface(), + cxdata, static_cast(size), stream_info); }