mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 21:55:34 +08: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
|
||||
if (c > 3) {
|
||||
add_string += c;
|
||||
add_string += (char)c;
|
||||
|
||||
} else {
|
||||
update_prompt = false;
|
||||
|
||||
Reference in New Issue
Block a user