From 2a8e198104e605b44d8955b6e247d579e098d776 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 15 May 2021 12:03:09 -0500 Subject: Missed a couple in the wchar_t -> unsigned conversion. --- toys/other/ascii.c | 2 +- toys/posix/paste.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'toys') diff --git a/toys/other/ascii.c b/toys/other/ascii.c index c9448a75..aa498721 100644 --- a/toys/other/ascii.c +++ b/toys/other/ascii.c @@ -56,7 +56,7 @@ void unicode_main(void) { int from, to, n; char next, **args, *s; - wchar_t wc; + unsigned wc; // Loop through args, handling range, hex code, or character(s) for (args = toys.optargs; *args; args++) { diff --git a/toys/posix/paste.c b/toys/posix/paste.c index 7d9ba947..43c25696 100644 --- a/toys/posix/paste.c +++ b/toys/posix/paste.c @@ -45,7 +45,7 @@ static void paste_files(void) for (i = any = dcount = dlen = 0; seq || i