aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-11-15 20:52:01 -0600
committerRob Landley <rob@landley.net>2007-11-15 20:52:01 -0600
commitac442b497bc7d023b36595b6d072d4499f3485f4 (patch)
tree2259a4863fd72ef4aacb2ae2acbb6b05ff4ab359 /toys
parentd0c379e3bdc6d4403dab8f591fd9c09a58a9b89d (diff)
downloadtoybox-ac442b497bc7d023b36595b6d072d4499f3485f4.tar.gz
Zap a warning.
Diffstat (limited to 'toys')
-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('$');