diff --git a/Source/Utils/qicomplex.cpp b/Source/Utils/qicomplex.cpp index 99b4970..ffbd8a5 100644 --- a/Source/Utils/qicomplex.cpp +++ b/Source/Utils/qicomplex.cpp @@ -195,7 +195,7 @@ int complex_main(args::Subparser &parser) { auto compose_imag = itk::JoinSeriesImageFilter::New(); auto extract_region = interleaved_region; extract_region.GetModifiableSize()[3] = 0; - for (auto iv = 0; iv < nv; iv++) { + for (size_t iv = 0; iv < nv; iv++) { auto extract_real = itk::ExtractImageFilter::New(); extract_region.GetModifiableIndex()[3] = 2 * iv; extract_real->SetExtractionRegion(extract_region);