aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/paste.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-05-15 12:03:09 -0500
committerRob Landley <rob@landley.net>2021-05-15 12:03:09 -0500
commit2a8e198104e605b44d8955b6e247d579e098d776 (patch)
treea93cdd477dafa271c5547c5fd488e385dc388ebb /toys/posix/paste.c
parentd3025b14b9c13286b79f256d019a99da9425ea0e (diff)
downloadtoybox-2a8e198104e605b44d8955b6e247d579e098d776.tar.gz
Missed a couple in the wchar_t -> unsigned conversion.
Diffstat (limited to 'toys/posix/paste.c')
-rw-r--r--toys/posix/paste.c2
1 files changed, 1 insertions, 1 deletions
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.