summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/afm2tfm.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/afm2tfm.c')
-rw-r--r--Build/source/texk/dvipsk/afm2tfm.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/Build/source/texk/dvipsk/afm2tfm.c b/Build/source/texk/dvipsk/afm2tfm.c
index e0d79f05bb8..0d6da9bb746 100644
--- a/Build/source/texk/dvipsk/afm2tfm.c
+++ b/Build/source/texk/dvipsk/afm2tfm.c
@@ -1162,18 +1162,18 @@ writesarr(long *what, int len)
static void
writetfm(void) {
lf = 6 + lh + (ec - bc + 1) + nw + nh + nd + ni + nl + nk + ne + np;
- write16(lf);
- write16(lh);
- write16(bc);
- write16(ec);
- write16(nw);
- write16(nh);
- write16(nd);
- write16(ni);
- write16(nl);
- write16(nk);
- write16(ne);
- write16(np);
+ write16((short)lf);
+ write16((short)lh);
+ write16((short)bc);
+ write16((short)ec);
+ write16((short)nw);
+ write16((short)nh);
+ write16((short)nd);
+ write16((short)ni);
+ write16((short)nl);
+ write16((short)nk);
+ write16((short)ne);
+ write16((short)np);
writearr(header, lh);
writearr(charinfo, ec-bc+1);
writesarr(width, nw);