From de9431e871991f216e82c8c308ed109ab0de20ad Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Tue, 5 Jan 2021 03:53:08 +0000 Subject: avoid a compiler warning git-svn-id: svn://tug.org/texlive/trunk@57331 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/ttf2afm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.c b/Build/source/texk/web2c/pdftexdir/ttf2afm.c index dc91c68da06..7809ae34203 100644 --- a/Build/source/texk/web2c/pdftexdir/ttf2afm.c +++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.c @@ -765,7 +765,7 @@ static void print_char_metric(FILE * f, int charcode, long glyph_index) { assert(glyph_index >= 0 && glyph_index < nglyphs); fprintf(f, "C %i ; WX %i ; N ", (int) charcode, - (int) get_ttf_funit(mtx_tab[glyph_index].wx)); + (int) get_ttf_funit((int)mtx_tab[glyph_index].wx)); print_glyph_name(f, glyph_index, print_glyph); fprintf(f, " ; B %i %i %i %i ;\n", (int) get_ttf_funit(mtx_tab[glyph_index].bbox[0]), -- cgit v1.2.3