diff --git a/platforms/posix/src/main.cpp b/platforms/posix/src/main.cpp index 35f563d1b5..3820ba709f 100644 --- a/platforms/posix/src/main.cpp +++ b/platforms/posix/src/main.cpp @@ -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;