mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 17:49:06 +08:00
posix main: convert c to a char when extending add_string
This commit is contained in:
parent
f241e49ebf
commit
036b59f3de
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user