diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-19 22:01:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-19 22:14:17 +0300 |
commit | 01e86b2c7d513b915df462de7c52578ef4fd265e (patch) | |
tree | 2d0413846f2f7dc159152aa197df899569477558 | |
parent | 38f65c500c1257bfdf586ae6b7b26cc1b77086ed (diff) |
Cleanup: warnings
-rw-r--r-- | source/blender/editors/interface/interface_icons.c | 6 |
1 files 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); } |