hush: fix a signedness bug
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 30 Mar 2018 22:46:07 +0000 (00:46 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 30 Mar 2018 22:48:18 +0000 (00:48 +0200)
commit6ffaa00338a9dc5f9e798c30aa9f96e51ab2ef36
tree2d4a0bb86f76fba8e8f1eedfa4e59d8c28b2592e
parent73523079a2c5f1cf370095a3166bace1d01fcba5
hush: fix a signedness bug

Testcase:

set -- a ""; space=" "; printf "<%s>\n" "$@"$space

Before:
<a >
After:
<a>
<>

It usually does not bite since bbox forces -funsigned-char build.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c