about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2007-01-26 19:18:17 +0000
committerWayne Davison <wayned@users.sourceforge.net>2007-01-26 19:18:17 +0000
commitecaf124c9555ac627bc2177a174c4ec9a9d363b1 (patch)
tree6076264eeb7c5dd9c4ec0a5b445ab52e144e5e3b /Src
parent9abddc0ccf9d651347ab1077d62c0df0942262d3 (diff)
downloadzsh-ecaf124c9555ac627bc2177a174c4ec9a9d363b1.tar.gz
zsh-ecaf124c9555ac627bc2177a174c4ec9a9d363b1.tar.xz
zsh-ecaf124c9555ac627bc2177a174c4ec9a9d363b1.zip
Silenced a compiler warning by making an int unsigned.
Diffstat (limited to 'Src')
-rw-r--r--Src/subst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/subst.c b/Src/subst.c
index 484b55b4d..ea2c50bde 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -2102,7 +2102,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
 		    {
 			int zero = 1;
 			/* Calculate length in possibly multibyte chars */
-			int charlen = MB_METASTRLEN(val);
+			unsigned int charlen = MB_METASTRLEN(val);
 
 			if (charlen < fwidth) {
 			    char *valprefend = val;