diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2010-04-26 13:47:46 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2010-04-26 13:47:46 +0000 |
commit | 6e68b35bab557d201b14872ceee444545e2702ea (patch) | |
tree | 77b9e1e8bce6785ef2fa19a411c98f0ccb95d997 /Build/source/texk/dvipsk/afm2tfm.c | |
parent | 26ba2c24f5c830c1ec1bfc2c7c5cddeffcf517bd (diff) |
afm2tfm.c: (write16()): cast argument to short to avoid warning.
git-svn-id: svn://tug.org/texlive/trunk@18009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/afm2tfm.c')
-rw-r--r-- | Build/source/texk/dvipsk/afm2tfm.c | 24 |
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); |