Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-06-19 15:43:44 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-06-19 15:43:44 +0300
commit5347aa40d57e86774c1022d143234dae3b627aea (patch)
tree0b717254102b60de7ddec622b53458a36a962b22 /source/blender/modifiers
parent1addac8e0c70870a39a07631668d9fae150f6582 (diff)
Fix compiler warnings from own recent rB0d5c7e5e36b9.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_dynamicpaint.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}