diff --git a/.vscode/settings.json b/.vscode/settings.json index dd9b75e..72bc948 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,7 +26,8 @@ "limits": "c", "*.in": "cpp", "lerror.h": "c", - "stdbool.h": "c" + "stdbool.h": "c", + "alloca.h": "c" }, "cSpell.words": [ "cnc's", diff --git a/lib/src/lsocket.c b/lib/src/lsocket.c index f944030..f0ad78e 100644 --- a/lib/src/lsocket.c +++ b/lib/src/lsocket.c @@ -1,5 +1,3 @@ -#include - #include "lerror.h" #include "lmem.h" #include "lpolllist.h" diff --git a/shell/src/sterm.c b/shell/src/sterm.c index 42740e9..5a56940 100644 --- a/shell/src/sterm.c +++ b/shell/src/sterm.c @@ -81,7 +81,7 @@ char shellT_getch(void) { int r; char in; - if ((r = shellT_readRawInput(&in, 1)) > 0) { + if ((r = shellT_readRawInput((uint8_t*)&in, 1)) > 0) { return in; } else { return r;