mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
posix main: convert c to a char when extending add_string
This commit is contained in:
@@ -638,7 +638,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
default: // any other input
|
default: // any other input
|
||||||
if (c > 3) {
|
if (c > 3) {
|
||||||
add_string += c;
|
add_string += (char)c;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
update_prompt = false;
|
update_prompt = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user