fix a warning from MirDebian mksh_39.9.20091122-0wtf1:

../../mksh/misc.c:586: warning: pointer targets in passing argument 1 of 'utf_ptradj' differ in signedness
This commit is contained in:
tg 2009-11-23 12:48:19 +00:00
parent 29176a176f
commit 68b81a10bc
1 changed files with 2 additions and 2 deletions

4
misc.c
View File

@ -29,7 +29,7 @@
#include <grp.h>
#endif
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.130 2009/11/21 22:30:36 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.131 2009/11/23 12:48:19 tg Exp $");
unsigned char chtypes[UCHAR_MAX + 1]; /* type bits for unsigned char */
@ -583,7 +583,7 @@ do_gmatch(const unsigned char *s, const unsigned char *se,
return (0);
if (UTFMODE) {
--s;
s += utf_ptradj(s);
s += utf_ptradj((const void *)s);
}
break;