summaryrefslogtreecommitdiff
path: root/src/autofit/aflatin.c
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2022-08-01 09:52:43 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2022-08-01 09:52:43 -0400
commit4f195185ee8b226505255e02f6e2bf300c50e0db (patch)
tree953eb8aafb7f4749e27b78943fa7ad2ed1ecde7d /src/autofit/aflatin.c
parent9de432f7f2989a6ad13024404b2290c529a82858 (diff)
downloadfreetype2-4f195185ee8b226505255e02f6e2bf300c50e0db.tar.gz
[autofit] Updated to reduce casting.
* src/autofit/afglobal.h (AF_FaceGlobalsRec): Change `glyph_count` type. * src/autofit/afglobal.c (af_face_globals_compute_style_coverage, af_face_globals_get_metrics, af_face_globals_is_digit, af_face_globals_new): Changed local types and updated accordingly. * src/autofit/aflatin.c (af_latin_metrics_init_blues): Ditto.
Diffstat (limited to 'src/autofit/aflatin.c')
-rw-r--r--src/autofit/aflatin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index 568ecec3d..7ebac2522 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -1043,7 +1043,7 @@
AF_FaceGlobals globals = metrics->root.globals;
FT_UShort* gstyles = globals->glyph_styles;
- FT_Long i;
+ FT_UInt i;
FT_TRACE5(( "no blue zones found:"