From d3025b14b9c13286b79f256d019a99da9425ea0e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 15 May 2021 11:14:03 -0500 Subject: Convert utf8towc from wchar_t to unsigned (to match wctoutf8). The maximum unicode code point is 0x10ffff which is 21 bits. --- toys/posix/expand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/expand.c') diff --git a/toys/posix/expand.c b/toys/posix/expand.c index f3cd44d0..e15d30d3 100644 --- a/toys/posix/expand.c +++ b/toys/posix/expand.c @@ -43,7 +43,7 @@ static void do_expand(int fd, char *name) } if (!len) break; for (i=0; i