bug fix in optimizing coverage table format (#1942)

We are comparing number of shorts, NOT number of bytes.
This commit is contained in:
qxliu76 2019-08-29 14:09:05 -07:00 committed by Behdad Esfahbod
parent 38f95baf6b
commit 0313ef86e3
1 changed files with 1 additions and 1 deletions

View File

@ -1062,7 +1062,7 @@ struct Coverage
last = g;
count++;
}
u.format = count * 2 < num_ranges * 3 ? 1 : 2;
u.format = count <= num_ranges * 3 ? 1 : 2;
switch (u.format)
{