summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipos/dvicore.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-10 11:59:24 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-10 11:59:24 +0000
commita99c15329e7586e69373bf882c49813298ba1521 (patch)
treef3c340a4f14c194e5dc969e2840184e81035f8fe /Build/source/texk/dvipos/dvicore.c
parenta59a95241f8036bc92a4166f056e2f7cf1bcef9c (diff)
dvipos: Use binary mode for output files
Cast argument to avoid MSVC compiler warnings (from W32TeX) git-svn-id: svn://tug.org/texlive/trunk@26988 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipos/dvicore.c')
-rw-r--r--Build/source/texk/dvipos/dvicore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipos/dvicore.c b/Build/source/texk/dvipos/dvicore.c
index 5a1db99c9e6..e01226dd9b3 100644
--- a/Build/source/texk/dvipos/dvicore.c
+++ b/Build/source/texk/dvipos/dvicore.c
@@ -744,7 +744,7 @@ static void fin_set (UNSIGNED_BYTE p, int move)
static void do_setchar (UNSIGNED_BYTE opcode)
{
if (opcode > 32 && opcode < 127) /* from '!' to '~' */
- out_text(opcode - SET_CHAR_0);
+ out_text((char)(opcode - SET_CHAR_0));
else
flush_text();
msg_out(M_DEBUG, "%ld: setchar%d", dvi_location, opcode - SET_CHAR_0);