[glyf] Accumulate points as int

Everything is int at this stage.
Doesn't seem to matter for performance though.
This commit is contained in:
Behdad Esfahbod 2022-06-27 13:03:06 -06:00
parent d6f60b3c19
commit 5cca25e5d0
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ struct SimpleGlyph
const simple_glyph_flag_t short_flag, const simple_glyph_flag_t short_flag,
const simple_glyph_flag_t same_flag) const simple_glyph_flag_t same_flag)
{ {
float v = 0; int v = 0;
unsigned count = points_.length; unsigned count = points_.length;
for (unsigned i = 0; i < count; i++) for (unsigned i = 0; i < count; i++)