diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/subst.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/subst.c b/Src/subst.c index 5628c11d2..f9c48404b 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -2892,7 +2892,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub) length += alen - offset; if (length < 0) { zerr("substring expression: %d < %d", - length + offset, offset); + (int)(length + offset), (int)offset); return NULL; } } else @@ -2942,7 +2942,8 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub) } if (length < 0) { zerr("substring expression: %d < %d", - length + given_offset, given_offset); + (int)(length + given_offset), + (int)given_offset); return NULL; } } |