right-size some tables

Change-Id: I5e894fd3f0f4b666512108495d8cecb34f65e119
This commit is contained in:
James Zern
2017-11-21 21:07:45 -08:00
parent b299c47eac
commit 083507f244
8 changed files with 18 additions and 18 deletions

View File

@ -735,7 +735,7 @@ static WebPEncodingError StoreImageToBitMask(
codes = huffman_codes + 5 * histogram_ix;
}
if (PixOrCopyIsLiteral(v)) {
static const int order[] = { 1, 2, 0, 3 };
static const uint8_t order[] = { 1, 2, 0, 3 };
int k;
for (k = 0; k < 4; ++k) {
const int code = PixOrCopyLiteral(v, order[k]);