summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/error_resilient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/error_resilient.c b/examples/error_resilient.c
index ef0a6c38d..19235c817 100644
--- a/examples/error_resilient.c
+++ b/examples/error_resilient.c
@@ -118,7 +118,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);