diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2007-12-27 16:00:53 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2007-12-27 16:00:53 +0000 |
commit | 3a6b74f4b0d5d5b1cfa7e6fb4fcc946a1ae16d66 (patch) | |
tree | fbaff1ff01914e716e656e970a1e2d3b242ca4ff /Src/params.c | |
parent | ef171ac0187ddf5bdf04df4ed895fdf64c5ae307 (diff) | |
download | zsh-3a6b74f4b0d5d5b1cfa7e6fb4fcc946a1ae16d66.tar.gz zsh-3a6b74f4b0d5d5b1cfa7e6fb4fcc946a1ae16d66.tar.xz zsh-3a6b74f4b0d5d5b1cfa7e6fb4fcc946a1ae16d66.zip |
Silenced a signed/unsigned compiler warning.
Diffstat (limited to 'Src/params.c')
-rw-r--r-- | Src/params.c | 2 |
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; |