summaryrefslogtreecommitdiff
path: root/examples/vp8cx_set_ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vp8cx_set_ref.c')
-rw-r--r--examples/vp8cx_set_ref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/vp8cx_set_ref.c b/examples/vp8cx_set_ref.c
index fc7bdab39..846477c61 100644
--- a/examples/vp8cx_set_ref.c
+++ b/examples/vp8cx_set_ref.c
@@ -122,8 +122,8 @@ int main(int argc, char **argv) {
if (!update_frame_num) die("Couldn't parse frame number '%s'\n", argv[5]);
info.codec_fourcc = encoder->fourcc;
- info.frame_width = strtol(argv[1], NULL, 0);
- info.frame_height = strtol(argv[2], NULL, 0);
+ info.frame_width = (int)strtol(argv[1], NULL, 0);
+ info.frame_height = (int)strtol(argv[2], NULL, 0);
info.time_base.numerator = 1;
info.time_base.denominator = fps;