Skip to content

Commit

Permalink
Merge pull request #49 from lsst/tickets/DM-7736
Browse files Browse the repository at this point in the history
DM-7736: Avoid signed/unsigned integer comparison warnings.
  • Loading branch information
TallJimbo committed Oct 4, 2016
2 parents d449382 + b5a8243 commit 4c350fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CR.cc
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ findCosmicRays(MaskedImageT &mimage, ///< Image to search
detection::Footprint::Ptr om = footprintAndMask(cr, mimage.getMask(), interpBit);
int const npix = (om) ? om->getNpix() : 0;

if (npix == cr->getNpix()) {
if (static_cast<std::size_t>(npix) == cr->getNpix()) {
continue;
}
}
Expand Down

0 comments on commit 4c350fe

Please sign in to comment.