diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-10-26 14:57:57 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-10-26 14:57:57 +0100 |
commit | e5ce8486cde13cf9d2c5e07d0969bf8757d680bd (patch) | |
tree | d16968532d87d6d3c9bf2e35262c09cbf47ec5a8 /src | |
parent | a99174b8c549eaf26e9fd2206d9a38f5bc71956c (diff) | |
download | uGFX-e5ce8486cde13cf9d2c5e07d0969bf8757d680bd.tar.gz uGFX-e5ce8486cde13cf9d2c5e07d0969bf8757d680bd.tar.bz2 uGFX-e5ce8486cde13cf9d2c5e07d0969bf8757d680bd.zip |
compiler warning
Diffstat (limited to 'src')
-rw-r--r-- | src/gwin/gwin_gwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin_gwin.c b/src/gwin/gwin_gwin.c index a4cef125..26e23f32 100644 --- a/src/gwin/gwin_gwin.c +++ b/src/gwin/gwin_gwin.c @@ -301,7 +301,7 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor #if GDISP_NEED_PIXELREAD color_t gwinGetPixelColor(GHandle gh, coord_t x, coord_t y) { - if (!_gwinDrawStart(gh)) return; + if (!_gwinDrawStart(gh)) return (color_t)0; return gdispGGetPixelColor(gh->display, gh->x+x, gh->y+y); _gwinDrawEnd(gh); } |