[Bf-blender-cvs] [05041b6] compositor-2016: Cleanup: warnings
Campbell Barton
noreply at git.blender.org
Wed Jun 8 21:48:14 CEST 2016
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);
}
More information about the Bf-blender-cvs
mailing list