summaryrefslogtreecommitdiff
path: root/ao_dbg.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-29 17:46:56 -0700
committerKeith Packard <keithp@keithp.com>2009-04-29 17:46:56 -0700
commitde7814c738488c2c16c6216c93fa78128895e5d5 (patch)
tree07a295d9f3786623e382a92bbab811ac19a78016 /ao_dbg.c
parent4ae74fffb939d67424efa3e7f433637f1f920ebc (diff)
Use 'char' instead of 'uint8_t' for character data
String and character constants are of char type, so using uint8_t causes promotion to 16-bit types when comparing the two.
Diffstat (limited to 'ao_dbg.c')
-rw-r--r--ao_dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao_dbg.c b/ao_dbg.c
index d100703f..8a11a444 100644
--- a/ao_dbg.c
+++ b/ao_dbg.c
@@ -287,7 +287,7 @@ debug_get(void)
static uint8_t
getnibble(void)
{
- __xdata uint8_t c;
+ __xdata char c;
c = getchar();
if ('0' <= c && c <= '9')