about summary refs log tree commit diff
path: root/Src/Zle/compctl.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:24:13 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:24:13 +0000
commit12b2ed63ab6f2b075b361ba7081e62d32b0cc122 (patch)
treea3887d5ce2dc7d6a409e722b3d2e342d1a23ea57 /Src/Zle/compctl.c
parentb5d7902c20ba6b1fcd6a1d0da0f6afdc7bed9fcd (diff)
downloadzsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.tar.gz
zsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.tar.xz
zsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.zip
Silenced one signed/unsigned comparison compiler warning.
Diffstat (limited to 'Src/Zle/compctl.c')
-rw-r--r--Src/Zle/compctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c
index 247f4c02d..9023dbd69 100644
--- a/Src/Zle/compctl.c
+++ b/Src/Zle/compctl.c
@@ -2892,7 +2892,7 @@ sep_comp_string(char *ss, char *s, int noffs)
     sl = strlen(s);
     if (swe > sl) {
 	swe = sl;
-	if (strlen(ns) > swe - swb + 1)
+	if ((int)strlen(ns) > swe - swb + 1)
 	    ns[swe - swb + 1] = '\0';
     }
     qs = tricat(multiquote(s + swe, 0), qisuf, "");