fix another warning
now builds on MirOS, DragonFly, NetBSD, Debian stale (i386), Solaris 8, Debian testing (s390x) - Solaris /bin/sh, bash, ksh93, mksh
This commit is contained in:
parent
1ffa722d73
commit
fb9c6e30bb
4
edit.c
4
edit.c
@ -5,7 +5,7 @@
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.58 2006/11/09 00:01:36 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.59 2006/11/09 00:28:36 tg Exp $");
|
||||
|
||||
/* tty driver characters we are interested in */
|
||||
typedef struct {
|
||||
@ -869,7 +869,7 @@ char *utf_getcpfromcols(char *, int);
|
||||
|
||||
#define utf_backch(c) \
|
||||
(!Flag(FUTFHACK) ? (c) - 1 : __extension__({ \
|
||||
/*const*/ unsigned char *utf_backch_cp = (c); \
|
||||
u_char *utf_backch_cp = (u_char *)(c); \
|
||||
--utf_backch_cp; \
|
||||
while ((*utf_backch_cp >= 0x80) && \
|
||||
(*utf_backch_cp < 0xC0)) \
|
||||
|
Loading…
Reference in New Issue
Block a user