Merge branch 'master' into blender2.8
[blender.git] / intern / cycles / blender / blender_camera.cpp
index c7d37527d78e7599b63a8b6052a3a8ffe0e67dc4..aea63b6b31fd98b85a32beb0227947c807f974e6 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;