Commit: 05041b650d6715986b543b6f6da01aff0ab1f478
Author: Campbell Barton
Date: Fri May 20 05:01:51 2016 +1000
Branches: compositor-2016
https://developer.blender.org/rB05041b650d6715986b543b6f6da01aff0ab1f478
Cleanup: warnings
===================================================================
M source/blender/editors/interface/interface_icons.c
===================================================================
diff --git a/source/blender/editors/interface/interface_icons.c
b/source/blender/editors/interface/interface_icons.c
index 0da21fd..0a25a8f 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);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs