From ac442b497bc7d023b36595b6d072d4499f3485f4 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 15 Nov 2007 20:52:01 -0600 Subject: Zap a warning. --- toys/toysh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys') 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('$'); -- cgit v1.2.3