From 5347aa40d57e86774c1022d143234dae3b627aea Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 19 Jun 2017 14:43:44 +0200 Subject: Fix compiler warnings from own recent rB0d5c7e5e36b9. --- source/blender/modifiers/intern/MOD_dynamicpaint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_dynamicpaint.c') diff --git a/source/blender/modifiers/intern/MOD_dynamicpaint.c b/source/blender/modifiers/intern/MOD_dynamicpaint.c index d54e052e438..83a42504180 100644 --- a/source/blender/modifiers/intern/MOD_dynamicpaint.c +++ b/source/blender/modifiers/intern/MOD_dynamicpaint.c @@ -62,11 +62,11 @@ static void copyData(ModifierData *md, ModifierData *target) if (tpmd->canvas) { for (DynamicPaintSurface *surface = tpmd->canvas->surfaces.first; surface; surface = surface->next) { - id_us_plus(surface->init_texture); + id_us_plus((ID *)surface->init_texture); } } if (tpmd->brush) { - id_us_plus(tpmd->brush->mat); + id_us_plus((ID *)tpmd->brush->mat); } } -- cgit v1.2.3