diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2004-05-28 19:21:05 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2004-05-28 19:21:05 +0000 |
commit | 14c7f464c2e1e08bbfbd5949c119ac34b404b7d4 (patch) | |
tree | 938d6e786aaaee68b36a394a61fa9c018cfdaa3e /Src/Zle/zle_tricky.c | |
parent | fea94cd79f6b2a3a8b8e3f64634af9b641a17822 (diff) | |
download | zsh-14c7f464c2e1e08bbfbd5949c119ac34b404b7d4.tar.gz zsh-14c7f464c2e1e08bbfbd5949c119ac34b404b7d4.tar.xz zsh-14c7f464c2e1e08bbfbd5949c119ac34b404b7d4.zip |
Silenced two signed/unsigned comparison compiler warnings.
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r-- | Src/Zle/zle_tricky.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 6f77810cc..135e38f88 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -399,7 +399,7 @@ checkparams(char *p) for (hn = paramtab->nodes[t0]; n < 2 && hn; hn = hn->next) if (pfxlen(p, hn->nam) == l) { n++; - if (strlen(hn->nam) == l) + if ((int)strlen(hn->nam) == l) e = 1; } return (n == 1) ? (getsparam(p) != NULL) : @@ -1472,7 +1472,7 @@ get_comp_string(void) if (!isset(IGNOREBRACES)) { /* Try and deal with foo{xxx etc. */ - char *curs = s + (isset(COMPLETEINWORD) ? offs : strlen(s)); + char *curs = s + (isset(COMPLETEINWORD) ? offs : (int)strlen(s)); char *predup = dupstring(s), *dp = predup; char *bbeg = NULL, *bend = NULL, *dbeg = NULL; char *lastp = NULL, *firsts = NULL; |