Fix needing -fpermissive

FossilOrigin-Name: bd82b5a5b17fdeacf6b3133104b958a1597e5e16379280cf0bcfef7e7fef1468
This commit is contained in:
Jonathan Schleifer 2024-07-20 21:49:30 +00:00
parent ea315c4a21
commit 04fa50a332
11 changed files with 20 additions and 18 deletions

View file

@ -247,7 +247,7 @@ keypress(int code, bool isdown, int cooked)
default:
resetcomplete();
if (cooked) {
char add[] = {cooked, 0};
char add[] = {(char)cooked, 0};
strcat_s(commandbuf, add);
};
};