diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-12-21 05:00:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-12-21 05:02:38 +0300 |
commit | 32be51dc66ae0e791970c8b7326afa16d60aa267 (patch) | |
tree | bc3c59d9b70f453e06917a3f47e6a6b9791df96f /source/blender/editors/sculpt_paint/paint_image_proj.c | |
parent | 6f224941408eda8930489fa440af9539a92badad (diff) |
Cleanup: warnings (msvc)
Part of patch D1670 by @LazyDodo
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_proj.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 2685581a81d..4e85d89ab4b 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -3638,7 +3638,7 @@ static void project_paint_build_proj_ima( projIma->partRedrawRect = BLI_memarena_alloc(arena, sizeof(ImagePaintPartialRedraw) * PROJ_BOUNDBOX_SQUARED); memset(projIma->partRedrawRect, 0, sizeof(ImagePaintPartialRedraw) * PROJ_BOUNDBOX_SQUARED); projIma->undoRect = (volatile void **) BLI_memarena_alloc(arena, size); - memset(projIma->undoRect, 0, size); + memset((void *)projIma->undoRect, 0, size); projIma->maskRect = BLI_memarena_alloc(arena, size); memset(projIma->maskRect, 0, size); projIma->valid = BLI_memarena_alloc(arena, size); |