From 1be6b124bc950f4d6734c241ce591d662bf3efbc Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Tue, 28 Oct 2014 16:44:58 +0100 Subject: [PATCH] #2471 creaImageIO Bug New Normal UnMosaic compilation conflict in Windows --- src/creaImageIOUnMosaicVtkImageData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/creaImageIOUnMosaicVtkImageData.cpp b/src/creaImageIOUnMosaicVtkImageData.cpp index 6160106..7b00646 100644 --- a/src/creaImageIOUnMosaicVtkImageData.cpp +++ b/src/creaImageIOUnMosaicVtkImageData.cpp @@ -80,7 +80,7 @@ std::vector creaImageIOUnMosaicVtkImageData::unMosaicVectorVtkIma // ------------------------------------------------------------------------ vtkImageData * creaImageIOUnMosaicVtkImageData::unMosaic(vtkImageData *imageIn, int numberOfImagesInMosaic) { - int nbImagesPerRow = ceil( sqrt(numberOfImagesInMosaic) ); + int nbImagesPerRow = ceil( sqrt( (double)numberOfImagesInMosaic) ); int inputdims[3]; int outputdims[3]; imageIn->GetDimensions (inputdims); -- 2.47.1