diff options
author | Johann <johannkoenig@google.com> | 2013-12-16 15:16:15 -0800 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2013-12-16 15:46:11 -0800 |
commit | 332169d39c838d41fe5158fa3e3a45f00cde8245 (patch) | |
tree | 11ef312b5d03050aaf849dd43617198c2d3e9e2d /vpx_scale | |
parent | 5894e7ef50f037a78038c93266e602486ccc501b (diff) | |
download | libvpx-332169d39c838d41fe5158fa3e3a45f00cde8245.tar.gz libvpx-332169d39c838d41fe5158fa3e3a45f00cde8245.tar.bz2 libvpx-332169d39c838d41fe5158fa3e3a45f00cde8245.zip |
Avoid mixed comparison
Silences warning C4018: '>' : signed/unsigned mismatch
Change-Id: I07d34060043e8ada7d995ea6dc8276cb881c7d95
Diffstat (limited to 'vpx_scale')
-rw-r--r-- | vpx_scale/generic/yv12config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_scale/generic/yv12config.c b/vpx_scale/generic/yv12config.c index a020e19b7..fc05d8ca7 100644 --- a/vpx_scale/generic/yv12config.c +++ b/vpx_scale/generic/yv12config.c @@ -164,7 +164,7 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, if (ext_fb != NULL) { const int align_addr_extra_size = 31; - const int external_frame_size = frame_size + align_addr_extra_size; + const size_t external_frame_size = frame_size + align_addr_extra_size; if (external_frame_size > ext_fb->size) { // Allocation to hold larger frame, or first allocation. if (cb(user_priv, external_frame_size, ext_fb) < 0) { |