Skip to content

Commit

Permalink
Refs #8385 Cast variable to correct type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Nov 7, 2013
1 parent 028d236 commit b4d6ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/Spectrogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));

}

Expand Down

0 comments on commit b4d6ac1

Please sign in to comment.