From b4d6ac1af06446adcd4f9cce189c31810dab361c Mon Sep 17 00:00:00 2001 From: Samuel Jackson <samuel.jackson@stfc.ac.uk> Date: Thu, 7 Nov 2013 14:14:59 +0000 Subject: [PATCH] Refs #8385 Cast variable to correct type. --- Code/Mantid/MantidPlot/src/Spectrogram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Mantid/MantidPlot/src/Spectrogram.cpp b/Code/Mantid/MantidPlot/src/Spectrogram.cpp index 25130f2fec0..a3060f6f25f 100644 --- a/Code/Mantid/MantidPlot/src/Spectrogram.cpp +++ b/Code/Mantid/MantidPlot/src/Spectrogram.cpp @@ -934,7 +934,7 @@ QImage Spectrogram::renderImage( imax = rect.height()-1; } } - std::fill(image2matrix_yMap.begin()+imin,image2matrix_yMap.begin()+imax+1,row); + std::fill(image2matrix_yMap.begin()+imin,image2matrix_yMap.begin()+imax+1,static_cast<int>(row)); } -- GitLab