Merge branch 'master' into blender2.8
[blender.git] / intern / cycles / blender / blender_camera.cpp
index c7d3752..aea63b6 100644 (file)
@@ -90,7 +90,7 @@ struct BlenderCamera {
 static void blender_camera_init(BlenderCamera *bcam,
                                 BL::RenderSettings& b_render)
 {
-       memset(bcam, 0, sizeof(BlenderCamera));
+       memset((void *)bcam, 0, sizeof(BlenderCamera));
 
        bcam->type = CAMERA_PERSPECTIVE;
        bcam->zoom = 1.0f;