From 48bd10bec5f30f75ce9fad77024752d7bf2cc8a1 Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Sun, 13 Dec 2020 11:45:11 +0000 Subject: dvi2tty: Avoid compilar warnings, more git-svn-id: svn://tug.org/texlive/trunk@57123 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c b/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c index 35522ac3303..72849205ed3 100644 --- a/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c +++ b/Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c @@ -1021,15 +1021,15 @@ long snum(int size) 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++; } -- cgit v1.2.3