aboutsummaryrefslogtreecommitdiff
path: root/toys/toysh.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/toysh.c')
-rw-r--r--toys/toysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/toysh.c b/toys/toysh.c
index ced1145d..18a3dce4 100644
--- a/toys/toysh.c
+++ b/toys/toysh.c
@@ -207,7 +207,7 @@ int toysh_main(void)
f = *toys.optargs ? xfopen(*toys.optargs, "r") : NULL;
if (TT.command) handle(TT.command);
else {
- unsigned cmdlen = 0;
+ size_t cmdlen = 0;
for (;;) {
char *command = 0;
if (!f) putchar('$');