summaryrefslogtreecommitdiff
path: root/vp8/vp8_cx_iface.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-09-19 18:33:10 -0700
committerJames Zern <jzern@google.com>2016-09-19 18:35:59 -0700
commit8281da74b905adf7fbfe0003df0294a683aaeb55 (patch)
tree43991fcb2e8d6daa7aeef07a3da2d3f68c558dd9 /vp8/vp8_cx_iface.c
parent0ce98b423b07c719b10053a2f76ce69d957fdc3c (diff)
downloadlibvpx-8281da74b905adf7fbfe0003df0294a683aaeb55.tar.gz
libvpx-8281da74b905adf7fbfe0003df0294a683aaeb55.tar.bz2
libvpx-8281da74b905adf7fbfe0003df0294a683aaeb55.zip
vp8: convert some uses of unsigned long to size_t
similar to changes that were done in vp9 for encoded frame size reporting. has the side-effect of quieting a -Wshorten-64-to-32 warning. Change-Id: I89f74cb617fc29334ee351dc8dfaa3b8cfd4e5af
Diffstat (limited to 'vp8/vp8_cx_iface.c')
-rw-r--r--vp8/vp8_cx_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c
index 0ec6902e7..fac237eec 100644
--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -824,7 +824,7 @@ static vpx_codec_err_t vp8e_encode(vpx_codec_alg_priv_t *ctx,
unsigned int lib_flags;
YV12_BUFFER_CONFIG sd;
int64_t dst_time_stamp, dst_end_time_stamp;
- unsigned long size, cx_data_sz;
+ size_t size, cx_data_sz;
unsigned char *cx_data;
unsigned char *cx_data_end;
int comp_data_state = 0;