Compile fix for GE12

ugfx_release_2.6
inmarket 2013-10-26 21:32:55 +10:00
parent 1346f48204
commit 9f1e371681
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
// Use the priv pointer itself to save our color. This save allocating ram for it
// and works provided sizeof(color_t) <= sizeof(void *)
#define savecolor(g) ((color_t)g->priv)
#define savecolor(g) (*(color_t *)&g->priv)
#define GDISP_FLG_ODDBYTE (GDISP_FLG_DRIVER<<0)