diff --git a/src/type1/t1objs.c b/src/type1/t1objs.c index e092b2bb4..fa990c2a6 100644 --- a/src/type1/t1objs.c +++ b/src/type1/t1objs.c @@ -271,7 +271,7 @@ /* now compute the maximum advance width */ - root->max_advance_width = face->type1.font_bbox.xMax; + root->max_advance_width = (FT_Short)face->type1.font_bbox.xMax; { FT_Int max_advance;