From ee54380b731834a277f529dae3a8b21c39d7b034 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Fri, 12 Feb 2016 14:30:31 +0100 Subject: [PATCH] fix conversion warnings --- CGAL_ImageIO/include/CGAL/Image_3_vtk_interface.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CGAL_ImageIO/include/CGAL/Image_3_vtk_interface.h b/CGAL_ImageIO/include/CGAL/Image_3_vtk_interface.h index 2a4737432ae..dd88ed8e93d 100644 --- a/CGAL_ImageIO/include/CGAL/Image_3_vtk_interface.h +++ b/CGAL_ImageIO/include/CGAL/Image_3_vtk_interface.h @@ -109,12 +109,12 @@ struct VTK_type_generator { data_array = array; ); - vtk_image->SetDimensions(image.xdim(), - image.ydim(), - image.zdim()); - vtk_image->SetExtent(0, image.xdim()-1, - 0, image.ydim()-1, - 0, image.zdim()-1); + vtk_image->SetDimensions((int)image.xdim(), + (int)image.ydim(), + (int)image.zdim()); + vtk_image->SetExtent(0, (int)(image.xdim() - 1), + 0, (int)(image.ydim() - 1), + 0, (int)(image.zdim() - 1)); vtk_image->SetSpacing(image.vx(), image.vy(), image.vz());