diff options
author | James Zern <jzern@google.com> | 2016-09-19 19:01:21 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2016-09-19 19:02:49 -0700 |
commit | 08b8b6bb8f09b616c2e8c910c181d34fbf6b0970 (patch) | |
tree | 7ed57c831f361d22c970a7438db5bfb65e0e50e0 /examples/vp8cx_set_ref.c | |
parent | 0695843a216dd63e8ac087e13c44de81e8a50afe (diff) | |
download | libvpx-08b8b6bb8f09b616c2e8c910c181d34fbf6b0970.tar libvpx-08b8b6bb8f09b616c2e8c910c181d34fbf6b0970.tar.gz libvpx-08b8b6bb8f09b616c2e8c910c181d34fbf6b0970.tar.bz2 libvpx-08b8b6bb8f09b616c2e8c910c181d34fbf6b0970.zip |
examples: quiet -Wshorten-64-to-32 warnings
all around usage of strtol/strtoul
Change-Id: If907c89f107a068987aa71ddd93cee9a7389e4cd
Diffstat (limited to 'examples/vp8cx_set_ref.c')
-rw-r--r-- | examples/vp8cx_set_ref.c | 4 |
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; |