texlive[57123] Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c:
commits+takuji at tug.org
commits+takuji at tug.org
Sun Dec 13 12:45:11 CET 2020
Revision: 57123
http://tug.org/svn/texlive?view=revision&revision=57123
Author: takuji
Date: 2020-12-13 12:45:11 +0100 (Sun, 13 Dec 2020)
Log Message:
-----------
dvi2tty: Avoid compilar warnings, more
Modified Paths:
--------------
trunk/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c
Modified: trunk/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c
===================================================================
--- trunk/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c 2020-12-13 11:22:31 UTC (rev 57122)
+++ trunk/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c 2020-12-13 11:45:11 UTC (rev 57123)
@@ -1021,15 +1021,15 @@
void dounichar(long ch)
{
- char c[4] = {0}, *cc;
+ unsigned char c[4] = {0}, *cc;
if (noligaturefi && 0xFB00<=ch && ch<=0xFB04) {
switch (ch) {
- case 0xFB00: strcpy(c,"ff"); break;
- case 0xFB01: strcpy(c,"fi"); break;
- case 0xFB02: strcpy(c,"fl"); break;
- case 0xFB03: strcpy(c,"ffi"); break;
- case 0xFB04: strcpy(c,"ffl"); break;
+ case 0xFB00: strcpy((char*)c,"ff"); break;
+ case 0xFB01: strcpy((char*)c,"fi"); break;
+ case 0xFB02: strcpy((char*)c,"fl"); break;
+ case 0xFB03: strcpy((char*)c,"ffi"); break;
+ case 0xFB04: strcpy((char*)c,"ffl"); break;
}
cc=c;
while (*cc) { outchar((long)*cc); cc++; }
More information about the tex-live-commits
mailing list.