changeset 165:ad48dca1f4c5

Zap a warning.
author Rob Landley <rob@landley.net>
date Thu, 15 Nov 2007 20:52:01 -0600
parents c79290b54bd3
children 5f1d3ad8a888
files toys/toysh.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/toys/toysh.c	Sat Nov 10 10:25:23 2007 +0000
+++ b/toys/toysh.c	Thu Nov 15 20:52:01 2007 -0600
@@ -207,7 +207,7 @@
 	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('$');