diff options
author | Joel Bodenmann <joel@embedded.pro> | 2016-11-19 23:46:50 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2016-11-19 23:46:50 +0100 |
commit | 6c7b3716b3c7f63c6c946d63aca8d8e09b67b9cb (patch) | |
tree | c46ac5893c42abd6fc72a27dcfa45da385373060 | |
parent | e0eacb846c4c87b70a77095c4b50fe4c06255fec (diff) | |
download | uGFX-6c7b3716b3c7f63c6c946d63aca8d8e09b67b9cb.tar.gz uGFX-6c7b3716b3c7f63c6c946d63aca8d8e09b67b9cb.tar.bz2 uGFX-6c7b3716b3c7f63c6c946d63aca8d8e09b67b9cb.zip |
Prevening compiler warning
-rw-r--r-- | src/gwin/gwin_widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin_widget.c b/src/gwin/gwin_widget.c index c3704536..9a203aca 100644 --- a/src/gwin/gwin_widget.c +++ b/src/gwin/gwin_widget.c @@ -318,7 +318,7 @@ static void gwidgetEvent(void *param, GEvent *pe) { return; // Use the very simplest possible focus rectangle for now - for (i = 0; i < GWIN_FOCUS_HIGHLIGHT_WIDTH; i++) { + for (i = 0; i < (uint16_t)GWIN_FOCUS_HIGHLIGHT_WIDTH; i++) { gdispGDrawBox(gx->g.display, gx->g.x+x+i, gx->g.y+y+i, cx-2*i, cy-2*i, gx->pstyle->focus); } } |