about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2007-12-27 16:00:53 +0000
committerWayne Davison <wayned@users.sourceforge.net>2007-12-27 16:00:53 +0000
commit3a6b74f4b0d5d5b1cfa7e6fb4fcc946a1ae16d66 (patch)
treefbaff1ff01914e716e656e970a1e2d3b242ca4ff /Src
parentef171ac0187ddf5bdf04df4ed895fdf64c5ae307 (diff)
downloadzsh-3a6b74f4b0d5d5b1cfa7e6fb4fcc946a1ae16d66.tar.gz
zsh-3a6b74f4b0d5d5b1cfa7e6fb4fcc946a1ae16d66.tar.xz
zsh-3a6b74f4b0d5d5b1cfa7e6fb4fcc946a1ae16d66.zip
Silenced a signed/unsigned compiler warning.
Diffstat (limited to 'Src')
-rw-r--r--Src/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c
index 0b372bf25..a8a0f7780 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -1891,7 +1891,7 @@ getstrvalue(Value v)
 
     if (v->flags & VALFLAG_SUBST) {
 	if (v->pm->node.flags & (PM_LEFT|PM_RIGHT_B|PM_RIGHT_Z)) {
-	    int fwidth = v->pm->width ? v->pm->width : MB_METASTRLEN(s);
+	    unsigned int fwidth = v->pm->width ? v->pm->width : MB_METASTRLEN(s);
 	    switch (v->pm->node.flags & (PM_LEFT | PM_RIGHT_B | PM_RIGHT_Z)) {
 		char *t, *tend;
 		unsigned int t0;