mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-03 06:50:59 +08:00
posix main: convert c to a char when extending add_string
This commit is contained in:
1 parent
f241e49ebf
commit
036b59f3de
1 file changed
+1
-1
@@ -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