aboutsummaryrefslogtreecommitdiff
path: root/display_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'display_sim.c')
-rw-r--r--display_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/display_sim.c b/display_sim.c
index 4737981..c87329e 100644
--- a/display_sim.c
+++ b/display_sim.c
@@ -104,7 +104,7 @@ void display_write(const char *text)
while (cursor_x < LCD_WIDTH && *text) {
c = *(text++);
/* 0-7 are custom chars in CGRAM on real LCD */
- if (c < 8)
+ if ((unsigned int)c < 8)
c = '_';
display[cursor_y][cursor_x++] = c;
}