From 12b2ed63ab6f2b075b361ba7081e62d32b0cc122 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 28 May 2004 19:24:13 +0000 Subject: Silenced one signed/unsigned comparison compiler warning. --- Src/Zle/compctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/compctl.c') 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, ""); -- cgit 1.4.1