summaryrefslogtreecommitdiff
path: root/xkbscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbscan.c')
-rw-r--r--xkbscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkbscan.c b/xkbscan.c
index 1e7902d..03193e2 100644
--- a/xkbscan.c
+++ b/xkbscan.c
@@ -269,7 +269,7 @@ tokText(int tok)
}
#endif
-static char
+static int
scanchar(void)
{
if (readBufPos >= readBufLen) {
@@ -285,7 +285,7 @@ scanchar(void)
}
static void
-unscanchar(char c)
+unscanchar(int c)
{
if (readBuf[--readBufPos] != c) {
fprintf(stderr, "UNGETCHAR FAILED! Put back %c, was expecting %c at "