diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dvipsk/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/writet1.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog index 33bc77557eb..04304b01f47 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,3 +1,7 @@ +2010-04-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * writet1.c (edecrypt()): cast argument to byte to avoid warning. + 2010-04-12 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am (EXTRA_DIST): Add afm2tfm-test.pl. diff --git a/Build/source/texk/dvipsk/writet1.c b/Build/source/texk/dvipsk/writet1.c index 35cc3a03e09..e8dfeb8b0c7 100644 --- a/Build/source/texk/dvipsk/writet1.c +++ b/Build/source/texk/dvipsk/writet1.c @@ -491,7 +491,7 @@ restart: goto exit; while (!t1_eof()) { if (t1_in_eexec == 1) - c = edecrypt(c); + c = edecrypt((byte)c); alloc_array(t1_line, 1, T1_BUF_SIZE); append_char_to_buf(c, t1_line_ptr, t1_line_array, t1_line_limit); if (t1_in_eexec == 0 && eexec_scan >= 0 && eexec_scan < eexec_len) { @@ -511,7 +511,7 @@ restart: cs_start = t1_line_ptr - t1_line_array; /* cs_start is an index now */ alloc_array(t1_line, l, T1_BUF_SIZE); while (l-- > 0) - *t1_line_ptr++ = edecrypt(t1_getbyte()); + *t1_line_ptr++ = edecrypt((byte)t1_getbyte()); } c = t1_getbyte(); } @@ -588,7 +588,7 @@ static void t1_check_block_len(boolean decrypt) return; c = t1_getbyte(); if (decrypt) - c = edecrypt(c); + c = edecrypt((byte)c); l = t1_block_length; if (!(l == 0 && (c == 10 || c == 13))) { pdftex_warn("%i bytes more than expected were ignored", l + 1); @@ -607,7 +607,7 @@ static void t1_start_eexec(void) if (!t1_pfa) t1_check_block_len(false); for (t1_line_ptr = t1_line_array, i = 0; i < 4; i++) { - edecrypt(t1_getbyte()); + edecrypt((byte)t1_getbyte()); *t1_line_ptr++ = 0; } t1_eexec_encrypt = true; @@ -626,7 +626,7 @@ static void t1_stop_eexec(void) if (!t1_pfa) t1_check_block_len(true); else { - c = edecrypt(t1_getbyte()); + c = edecrypt((byte)t1_getbyte()); if (!(c == 10 || c == 13)) { if (last_hexbyte == 0) t1_puts("00"); |