From 036b59f3de696d21e5a00eaf3af4eaaeffe9d1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Wed, 13 Jun 2018 16:02:48 +0200 Subject: [PATCH] posix main: convert c to a char when extending add_string --- platforms/posix/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;