From 34d02b060d97073eaf8a2fca49360274288b7a25 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Wed, 19 Feb 2014 16:20:14 -0800 Subject: vp8cx_set_ref.c: Silence MSVC data loss warning. Change-Id: I1210ce23cf8f98950c445a17ef51a73c6852c89f --- examples/vp8cx_set_ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vp8cx_set_ref.c b/examples/vp8cx_set_ref.c index 5a675788a..f87dd35c3 100644 --- a/examples/vp8cx_set_ref.c +++ b/examples/vp8cx_set_ref.c @@ -139,7 +139,7 @@ static void write_ivf_frame_header(FILE *outfile, return; pts = pkt->data.frame.pts; - mem_put_le32(header, pkt->data.frame.sz); + mem_put_le32(header, (unsigned int)pkt->data.frame.sz); mem_put_le32(header+4, pts&0xFFFFFFFF); mem_put_le32(header+8, pts >> 32); -- cgit v1.2.3