aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/other/ascii.c2
-rw-r--r--toys/posix/paste.c2
2 files changed, 2 insertions, 2 deletions
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<TT.files; i++) {
size_t blen;
- wchar_t wc;
+ unsigned wc;
FILE *ff = seq ? *fps : fps[i];
// Read and output line, preserving embedded NUL bytes.