summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2021-01-05 03:53:08 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2021-01-05 03:53:08 +0000
commitde9431e871991f216e82c8c308ed109ab0de20ad (patch)
tree7cd8d82e66fbbb4c8957d80e0966252a4e26d378 /Build
parentb426cf4f941098820b71fd18f6522cc1488e2fce (diff)
avoid a compiler warning
git-svn-id: svn://tug.org/texlive/trunk@57331 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ttf2afm.c2
1 files changed, 1 insertions, 1 deletions
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]),