summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/vp8cx_set_ref.c2
1 files changed, 1 insertions, 1 deletions
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);