From d345dc0ea8284a5e7230013117794148149fadaf Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Mon, 25 Nov 2024 08:43:15 -0600 Subject: [PATCH] COMP: Fix value comparision differences warning comparison of integers of different signs: 'PixelType' (aka 'short') and 'const unsigned int' --- include/itkSegmentBonesInMicroCTFilter.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/itkSegmentBonesInMicroCTFilter.hxx b/include/itkSegmentBonesInMicroCTFilter.hxx index 2d219df..6742d13 100644 --- a/include/itkSegmentBonesInMicroCTFilter.hxx +++ b/include/itkSegmentBonesInMicroCTFilter.hxx @@ -285,7 +285,7 @@ SegmentBonesInMicroCTFilter::GenerateData() // per-bone processing - for (unsigned bone = 1; bone <= numBones; bone++) + for (PixelType bone = 1; bone <= numBones; bone++) { float boneProgress = 0.3f / numBones; float beginProgress = 0.7 + boneProgress * (bone - 1);