From 0ae6747300a74daf14482f9ca89caffa9e503454 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Tue, 5 Mar 2019 12:10:34 +0100 Subject: GPencil: Cleanup compiler warnings --- source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c index fb84cd5b612..d8ebae744e2 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -1372,12 +1372,14 @@ void DRW_gpencil_populate_buffer_strokes(GPENCIL_e_data *e_data, void *vedata, T if ((gp_style) && (gp_style->mode == GP_STYLE_MODE_LINE)) { stl->g_data->shgrps_drawing_stroke = DRW_gpencil_shgroup_stroke_create( e_data, vedata, psl->drawing_pass, e_data->gpencil_stroke_sh, NULL, - gpd, NULL, NULL, gp_style, -1, false, 1.0f, stl->storage->shade_render); + gpd, NULL, NULL, gp_style, -1, + false, 1.0f, (const int *)stl->storage->shade_render); } else { stl->g_data->shgrps_drawing_stroke = DRW_gpencil_shgroup_point_create( e_data, vedata, psl->drawing_pass, e_data->gpencil_point_sh, NULL, - gpd, NULL, gp_style, -1, false, 1.0f, stl->storage->shade_render); + gpd, NULL, gp_style, -1, + false, 1.0f, (const int *)stl->storage->shade_render); } /* clean previous version of the batch */ -- cgit v1.2.3