mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-05 07:40:07 +00:00
minor refactoring
- removed unused alloca.h header in lsocket.c - fixed type cast warning in sterm.c
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user