about summary refs log tree commit diff
path: root/Src/loop.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:18:17 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:18:17 +0000
commitf297798397f570edd4e2a7933edaebe19489129c (patch)
treea76ee24046b21b66062cb200e64b752e2e422a96 /Src/loop.c
parentf160996d5171d0140c3d58ff03ddfbbf25543bf3 (diff)
downloadzsh-f297798397f570edd4e2a7933edaebe19489129c.tar.gz
zsh-f297798397f570edd4e2a7933edaebe19489129c.tar.xz
zsh-f297798397f570edd4e2a7933edaebe19489129c.zip
Made a variable (t2) size_t so that it matched the size of the
other variable it gets compared with (fw).
Diffstat (limited to 'Src/loop.c')
-rw-r--r--Src/loop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/loop.c b/Src/loop.c
index 5b09a76df..ecb9821ad 100644
--- a/Src/loop.c
+++ b/Src/loop.c
@@ -338,7 +338,8 @@ selectlist(LinkList l, size_t start)
     for (t1 = start; t1 != colsz && t1 - start < lines - 2; t1++) {
 	ap = arr + t1;
 	do {
-	    int t2 = strlen(*ap) + 2, t3;
+	    size_t t2 = strlen(*ap) + 2;
+	    int t3;
 
 	    fprintf(stderr, "%d) %s", t3 = ap - arr + 1, *ap);
 	    while (t3)