Compile fix for GE12
This commit is contained in:
parent
1346f48204
commit
9f1e371681
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user