summaryrefslogtreecommitdiff
path: root/src/core/ao_stdio.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-12-25 14:20:42 -0800
committerKeith Packard <keithp@keithp.com>2012-12-25 14:20:42 -0800
commit868ef0c9c4b208c02a87180b0eede329369bdc77 (patch)
tree1f20d312d56bac34bad12f287629a2651bbbccf8 /src/core/ao_stdio.c
parent669cde8a87d88ceae89e369c1d38b88c9f8198cf (diff)
parent57487e78b90465a21c87cf30deb0aeaba0887332 (diff)
Merge branch 'master' into micropeak-logging
Diffstat (limited to 'src/core/ao_stdio.c')
-rw-r--r--src/core/ao_stdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ao_stdio.c b/src/core/ao_stdio.c
index 8cf66a23..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;
@@ -123,7 +123,7 @@ ao_echo(void)
}
int8_t
-ao_add_stdio(char (*pollchar)(void),
+ao_add_stdio(int (*pollchar)(void),
void (*putchar)(char),
void (*flush)(void)) __reentrant
{