From 01e86b2c7d513b915df462de7c52578ef4fd265e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 20 May 2016 05:01:51 +1000 Subject: Cleanup: warnings --- source/blender/editors/interface/interface_icons.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index 0da21fd442f..0a25a8fb3c6 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -527,15 +527,15 @@ static void vicon_colorset_draw(int index, int x, int y, int w, int h, float UNU /* XXX: Include alpha into this... */ /* normal */ - glColor3ubv(cs->solid); + glColor3ubv((unsigned char *)cs->solid); glRecti(x, y, a, y + h); /* selected */ - glColor3ubv(cs->select); + glColor3ubv((unsigned char *)cs->select); glRecti(a, y, b, y + h); /* active */ - glColor3ubv(cs->active); + glColor3ubv((unsigned char *)cs->active); glRecti(b, y, c, y + h); } -- cgit v1.2.3