diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-12-13 11:45:11 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-12-13 11:45:11 +0000 |
commit | 48bd10bec5f30f75ce9fad77024752d7bf2cc8a1 (patch) | |
tree | 22598a6fe7a6fd0c3339c005aa668390e5f798b4 /Build | |
parent | c3f19c51c8b7beeed849a2d0e49270c25161b79f (diff) |
dvi2tty: Avoid compilar warnings, more
git-svn-id: svn://tug.org/texlive/trunk@57123 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvi2tty/dvi2tty-src/dvistuff.c | 12 |
1 files changed, 6 insertions, 6 deletions
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++; } |