This commit is contained in:
Behdad Esfahbod 2018-12-01 00:04:29 -05:00
parent eb5ddd32bf
commit be45677ab6
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ struct SingleSubst
/* TODO(serialize) check for wrap-around */
delta = substitutes[0] - glyphs[0];
for (unsigned int i = 1; i < num_glyphs; i++)
if (delta != substitutes[i] - glyphs[i]) {
if (delta != (int) (substitutes[i] - glyphs[i])) {
format = 2;
break;
}