diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2008-01-21 19:15:39 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2008-01-21 19:15:39 +0000 |
commit | 172a81db90b9b5a499fb10f1b6334dee32b24d88 (patch) | |
tree | d620c094e2a302a1165c87cb780971951e274a9c /Src | |
parent | 709426fcfd99d4ebb042df585876d81cf0ddc81e (diff) | |
download | zsh-172a81db90b9b5a499fb10f1b6334dee32b24d88.tar.gz zsh-172a81db90b9b5a499fb10f1b6334dee32b24d88.tar.xz zsh-172a81db90b9b5a499fb10f1b6334dee32b24d88.zip |
Silence a compiler warning.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 299ad3758..048d6c625 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4970,7 +4970,7 @@ bin_read(char *name, char **args, Options ops, UNUSED(int func)) } else if (ret == 0) /* handle null as normal char */ ret = 1; - else if (ret > val) { + else if (ret > (size_t)val) { /* Some mbrlen()s return the full char len */ ret = val; } |