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_refresh.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_refresh.c')
-rw-r--r-- | Src/Zle/zle_refresh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 86564eb74..2b90edd0c 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -1033,7 +1033,7 @@ tc_rightcurs(int ct) if we're anywhere in the prompt, goto the left column and write the whole prompt out unless ztrlen(lpromptbuf) == lpromptw : we can cheat then */ if (vln == 0 && i < lpromptw && !(termflags & TERM_SHORT)) { - if (strlen(lpromptbuf) == lpromptw) + if ((int)strlen(lpromptbuf) == lpromptw) fputs(lpromptbuf + i, shout); else if (tccan(TCRIGHT) && (tclen[TCRIGHT] * ct <= ztrlen(lpromptbuf))) /* it is cheaper to send TCRIGHT than reprint the whole prompt */ |