diff options
author | Rob Landley <rob@landley.net> | 2021-05-15 12:03:09 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-05-15 12:03:09 -0500 |
commit | 2a8e198104e605b44d8955b6e247d579e098d776 (patch) | |
tree | a93cdd477dafa271c5547c5fd488e385dc388ebb /toys | |
parent | d3025b14b9c13286b79f256d019a99da9425ea0e (diff) | |
download | toybox-2a8e198104e605b44d8955b6e247d579e098d776.tar.gz |
Missed a couple in the wchar_t -> unsigned conversion.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/other/ascii.c | 2 | ||||
-rw-r--r-- | toys/posix/paste.c | 2 |
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. |