about summary refs log tree commit diff
path: root/Src/subst.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:22:17 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:22:17 +0000
commit327481b391e0f5fffde3beb2446f1259f4ccb309 (patch)
treeb9c26cdcf5fd9f099151ffd6f44f2dab86ce8675 /Src/subst.c
parent14c7f464c2e1e08bbfbd5949c119ac34b404b7d4 (diff)
downloadzsh-327481b391e0f5fffde3beb2446f1259f4ccb309.tar.gz
zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.tar.xz
zsh-327481b391e0f5fffde3beb2446f1259f4ccb309.zip
Silenced one signed/unsigned comparison compiler warning.
Diffstat (limited to 'Src/subst.c')
-rw-r--r--Src/subst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/subst.c b/Src/subst.c
index d2d75ce79..f281bda50 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -1637,7 +1637,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
 		 * Bet that's easier said than done.
 		 */
 		val = getstrvalue(v);
-		fwidth = v->pm->ct ? v->pm->ct : strlen(val);
+		fwidth = v->pm->ct ? v->pm->ct : (int)strlen(val);
 		switch (v->pm->flags & (PM_LEFT | PM_RIGHT_B | PM_RIGHT_Z)) {
 		    char *t;
 		    unsigned int t0;