X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fcore%2Fao_stdio.c;h=1748dfe8d940ecc550ff41911db01b0259291ec9;hp=4a832487e6102612c7aeed176247d75c981fd3d9;hb=c10f9a438ed5789479d21c78153ca7f14c05534c;hpb=16fd9009d8b034fd8d208115317f65fabe10072a diff --git a/src/core/ao_stdio.c b/src/core/ao_stdio.c index 4a832487..1748dfe8 100644 --- a/src/core/ao_stdio.c +++ b/src/core/ao_stdio.c @@ -98,7 +98,7 @@ __xdata uint8_t ao_stdin_ready; char getchar(void) __reentrant { - char c; + int c; ao_arch_critical( int8_t stdio = ao_cur_stdio;