OSDN Git Service

Merge "Upgrade to mksh R57." am: 66875a42ae am: 4ddd1dd424
[android-x86/external-mksh.git] / src / tree.c
index 5e7326b..335e3fb 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "sh.h"
 
-__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.95 2018/01/14 00:03:05 tg Exp $");
+__RCSID("$MirOS: src/bin/mksh/tree.c,v 1.97 2018/10/20 18:46:00 tg Exp $");
 
 #define INDENT 8
 
@@ -808,7 +808,7 @@ vistree(char *dst, size_t sz, struct op *t)
                c = ksh_unctrl(c);
        } else if (UTFMODE && rtt2asc(c) > 0x7F) {
                /* better not try to display broken multibyte chars */
-               /* also go easy on the Unicode: no U+FFFD here */
+               /* also go easy on the UCS: no U+FFFD here */
                c = ORD('?');
        }
        *dst++ = c;
@@ -821,7 +821,7 @@ vistree(char *dst, size_t sz, struct op *t)
 
 #ifdef DEBUG
 void
-dumpchar(struct shf *shf, int c)
+dumpchar(struct shf *shf, unsigned char c)
 {
        if (ksh_isctrl(c)) {
                /* C0 or C1 control character or DEL */