diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2004-05-28 19:24:13 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2004-05-28 19:24:13 +0000 |
commit | 12b2ed63ab6f2b075b361ba7081e62d32b0cc122 (patch) | |
tree | a3887d5ce2dc7d6a409e722b3d2e342d1a23ea57 /Src/Zle/zle_hist.c | |
parent | b5d7902c20ba6b1fcd6a1d0da0f6afdc7bed9fcd (diff) | |
download | zsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.tar.gz zsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.tar.xz zsh-12b2ed63ab6f2b075b361ba7081e62d32b0cc122.zip |
Silenced one signed/unsigned comparison compiler warning.
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r-- | Src/Zle/zle_hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c index 94770b235..f1463cd15 100644 --- a/Src/Zle/zle_hist.c +++ b/Src/Zle/zle_hist.c @@ -808,7 +808,7 @@ doisearch(char **args, int dir) else pos -= 1 + (pos != 1 && s[pos-2] == Meta); } else if (sbuf[0] != '^') { - if (pos >= strlen(s+1)) + if (pos >= (int)strlen(s+1)) skip_line = 1; else pos += 1 + (s[pos] == Meta); |