Commit b44cc299 authored by Matthew Bowles's avatar Matthew Bowles
Browse files

fix for type warnings Re #19472

parent 65005cc1
......@@ -341,7 +341,7 @@ void CentroidPeaks::removeEdgePeaks(
int Edge = getProperty("EdgePixels");
std::vector<int> badPeaks;
size_t numPeaks = peakWS->getNumberPeaks() - 1;
for (size_t i = 0; i < numPeaks; i++) {
for (int i = 0; i < static_cast<int>(numPeaks); i++) {
// Get a direct ref to that peak.
const auto &peak = peakWS->getPeak(i);
int col = peak.getCol();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment