posix main: convert c to a char when extending add_string

This commit is contained in:
Beat Küng 2018-06-13 16:02:48 +02:00 committed by Lorenz Meier
parent f241e49ebf
commit 036b59f3de

View File

@ -638,7 +638,7 @@ int main(int argc, char **argv)
default: // any other input
if (c > 3) {
add_string += c;
add_string += (char)c;
} else {
update_prompt = false;