texlive[57331] Build/source/texk/web2c/pdftexdir/ttf2afm.c: avoid a

commits+kakuto at tug.org commits+kakuto at tug.org
Tue Jan 5 04:53:08 CET 2021


Revision: 57331
          http://tug.org/svn/texlive?view=revision&revision=57331
Author:   kakuto
Date:     2021-01-05 04:53:08 +0100 (Tue, 05 Jan 2021)
Log Message:
-----------
avoid a compiler warning

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c

Modified: trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c	2021-01-05 00:54:02 UTC (rev 57330)
+++ trunk/Build/source/texk/web2c/pdftexdir/ttf2afm.c	2021-01-05 03:53:08 UTC (rev 57331)
@@ -765,7 +765,7 @@
 {
     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]),



More information about the tex-live-commits mailing list.