diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/ps2pkm/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/ps2pkm/pkout.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/ps2pkm/ChangeLog b/Build/source/texk/ps2pkm/ChangeLog index 3c4a0b12a4f..fe6259c879f 100644 --- a/Build/source/texk/ps2pkm/ChangeLog +++ b/Build/source/texk/ps2pkm/ChangeLog @@ -1,5 +1,10 @@ 2012-10-15 Peter Breitenlohner <peb@mppmu.mpg.de> + Remove TL vs W32TeX diffs (from Akira). + * pkout.c: Add casts to avoid MSVC warnings. + +2012-10-15 Peter Breitenlohner <peb@mppmu.mpg.de> + Reduce TL vs W32TeX diffs (from Akira). * mag.c [WIN32]: Add '#include <fcntl.h>' for setmode(). * t1funcs.c: Add casts to avoid MSVC warnings. diff --git a/Build/source/texk/ps2pkm/pkout.c b/Build/source/texk/ps2pkm/pkout.c index d1b2952c886..84b57a8f274 100644 --- a/Build/source/texk/ps2pkm/pkout.c +++ b/Build/source/texk/ps2pkm/pkout.c @@ -116,9 +116,9 @@ void pk_preamble(char *comment, /* source of the font */ pk1(len); for (i=0; i<len; i++) pk1(*comment++); - pk4(pointsize * (1<<20) + 0.5); + pk4((INT32)(pointsize * (1<<20) + 0.5)); pk4(checksum); - pk4(h_res / DPI * (1<<16)); pk4(v_res / DPI * (1<<16)); + pk4((INT32)(h_res / DPI * (1<<16))); pk4((INT32)(v_res / DPI * (1<<16))); } /* From `The GFtoPK processor', pp. 231 */ |