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>
Sun, 1 Apr 2018 11:04:11 +0000 (13:04 +0200)
commite04a38c0c91c17ce27fb11d83f6767614b7d6b59
treefe0dae49077e82b1c34b44894854b23207b69d34
parent78ee8fc3e457452a6cdd25802b85f45b064bb845
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