about summary refs log tree commit diff
path: root/Src/Zle/complete.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/complete.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/complete.c')
-rw-r--r--Src/Zle/complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index b325b8536..3939bdd07 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -788,7 +788,7 @@ do_comp_vars(int test, int na, char *sa, int nb, char *sb, int mod)
 	if (!na)
 	    return 1;
 	if (na > 0 &&
-	    strlen(test == CVT_PRENUM ? compprefix : compsuffix) >= na) {
+	    (int)strlen(test == CVT_PRENUM ? compprefix : compsuffix) >= na) {
 	    if (mod) {
 		if (test == CVT_PRENUM)
 		    ignore_prefix(na);