From 14c60a15bca704873f88f46495559ee7d698f985 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 8 Dec 2018 12:58:22 -0500 Subject: Add uint typedef --- term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term.c') diff --git a/term.c b/term.c index 2be9c16..75380ea 100644 --- a/term.c +++ b/term.c @@ -51,7 +51,7 @@ void termMode(enum TermMode mode, bool set) { enum { Esc = '\33' }; enum TermEvent termEvent(char ch) { - static int state = 0; + static uint state = 0; switch (T(state, ch)) { case T(0, Esc): state = 1; return 0; case T(1, '['): state = 2; return 0; -- cgit 1.4.1-2-gfad0