Skip to content
Snippets Groups Projects
Commit a7267a58 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

WRG: sign-compare warning

parent 4c67a591
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ ImageToImageRCC8Calculator<TInputImage> ...@@ -142,7 +142,7 @@ ImageToImageRCC8Calculator<TInputImage>
typename ImageType::SizeType size; typename ImageType::SizeType size;
typename ImageType::IndexType index; typename ImageType::IndexType index;
for (int i = 0; i < ImageType::ImageDimension; ++i) for (unsigned int i = 0; i < ImageType::ImageDimension; ++i)
{ {
index[i] = std::min(region1.GetIndex()[i], region2.GetIndex()[i]); index[i] = std::min(region1.GetIndex()[i], region2.GetIndex()[i]);
int potSize = std::max(region1.GetIndex()[i] + region1.GetSize()[i], int potSize = std::max(region1.GetIndex()[i] + region1.GetSize()[i],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment