diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-01-26 13:37:49 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-01-26 13:37:49 +0000 |
commit | dba36815c3521f281d4962346b0b9dbdb7e787e7 (patch) | |
tree | 519d4b65c05c687929af17ad581997eb170d1230 /Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES | |
parent | ecf810bdf23cee1b69f6bac4936e33555721bc60 (diff) |
Fix dvi2tty 'make check' problem
git-svn-id: svn://tug.org/texlive/trunk@21175 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES')
-rw-r--r-- | Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-01-typecast | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog b/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog index c2d90b0c0e4..e9491b07b1b 100644 --- a/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog +++ b/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/ChangeLog @@ -1,3 +1,8 @@ +2011-01-26 Peter Breitenlohner <peb@mppmu.mpg.de> + + * dvistuff.c (dopage): Typecast dochar() argument to the + parameter type 'unsigned char', not to 'char'. + 2010-11-13 Peter Breitenlohner <peb@mppmu.mpg.de> Import dvi2tty-5.3.4. diff --git a/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-01-typecast b/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-01-typecast new file mode 100644 index 00000000000..eaa46090ded --- /dev/null +++ b/Build/source/texk/dvi2tty/dvi2tty-5.3.4-PATCHES/patch-01-typecast @@ -0,0 +1,12 @@ +diff -ur dvi2tty-5.3.4.orig/dvistuff.c dvi2tty-5.3.4/dvistuff.c +--- dvi2tty-5.3.4.orig/dvistuff.c 2010-11-13 16:35:19.000000000 +0100 ++++ dvi2tty-5.3.4/dvistuff.c 2011-01-26 11:35:56.526064435 +0100 +@@ -441,7 +441,7 @@ + + while ((opcode = (int) get1()) != EOP) { /* process page until eop */ + if (opcode <= LASTCHAR) +- dochar((char) opcode); ++ dochar((unsigned char) opcode); + else if ((opcode >= FONT_00) && (opcode <= FONT_63)) + setfont((long) opcode - FONT_00); + else if (opcode > POST_POST) |