summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/lcd-16bit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c
index a7e89b0..9b700a0 100644
--- a/firmware/drivers/lcd-16bit.c
+++ b/firmware/drivers/lcd-16bit.c
@@ -515,7 +515,7 @@ void lcd_vline(int x, int y1, int y2)
}
/* nothing to draw? */
- if ((x >= current_vp->width) ||
+ if (((unsigned)x >= (unsigned)current_vp->width) ||
(y1 >= current_vp->height) ||
(y2 < 0))
return;