Commit 332169d3 authored by Johann's avatar Johann
Browse files

Avoid mixed comparison

Silences warning C4018: '>' : signed/unsigned mismatch

Change-Id: I07d34060043e8ada7d995ea6dc8276cb881c7d95
Showing with 1 addition and 1 deletion
...@@ -164,7 +164,7 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, ...@@ -164,7 +164,7 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
if (ext_fb != NULL) { if (ext_fb != NULL) {
const int align_addr_extra_size = 31; 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) { if (external_frame_size > ext_fb->size) {
// Allocation to hold larger frame, or first allocation. // Allocation to hold larger frame, or first allocation.
if (cb(user_priv, external_frame_size, ext_fb) < 0) { if (cb(user_priv, external_frame_size, ext_fb) < 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment