From 5e1f9acea8a5652c56d3c7d97c4e11c1ec64e6ef Mon Sep 17 00:00:00 2001 From: Tobias Wood Date: Fri, 24 Nov 2023 11:50:41 +0000 Subject: [PATCH] Sign comparison --- Source/Utils/qicomplex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);