diff --git a/Code/Common/otbMultiChannelExtractROI.txx b/Code/Common/otbMultiChannelExtractROI.txx index fd807c518de32ca355299377a4916a3e571a2dcc..b17531b43cc6a3d3175af8ecdfd8f2d0e4d21ff7 100755 --- a/Code/Common/otbMultiChannelExtractROI.txx +++ b/Code/Common/otbMultiChannelExtractROI.txx @@ -119,7 +119,7 @@ MultiChannelExtractROI<TInputPixelType,TOutputPixelType> << typeid(itk::ImageBase<InputImageDimension>*).name() ); } - for( int channel = m_FirstChannel ; channel <= m_LastChannel ; channel ++ ) + for( unsigned int channel = m_FirstChannel ; channel <= m_LastChannel ; channel ++ ) { m_ChannelsWorks.push_back(channel); }