]> granicus.if.org Git - libvpx/commit
vp8_change_config: fix unsigned/signed comparison
authorJohann <johannkoenig@google.com>
Sat, 11 Jun 2016 01:09:04 +0000 (18:09 -0700)
committerJohann Koenig <johannkoenig@google.com>
Thu, 16 Jun 2016 20:58:37 +0000 (20:58 +0000)
commitdb81c3433629d1bb6488966bededb5f80b83369f
treee24cd77dab2daa7d6bd76eda50c53848d9833846
parent87679994936b0755312f5ef4bae30afb2da22371
vp8_change_config: fix unsigned/signed comparison

Use ~15 instead of 0x..F0

Cleans warning in Android build:
comparison of integers of different signs: 'unsigned int' and 'int'
if (((cm->Width + 15) & 0xfffffff0) !=
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
comparison of integers of different signs: 'unsigned int' and 'int'
((cm->Height + 15) & 0xfffffff0) !=
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^

Change-Id: Iac25839cde3425b7b9db7f33740dc46a551b7546
vp8/encoder/onyx_if.c