Skip to content
Snippets Groups Projects
Commit 38418894 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Supppress warning for ImageSeriesFileReader.txx and testing associate

parent e893b3d1
Branches
Tags
No related merge requests found
......@@ -221,7 +221,7 @@ ImageSeriesFileReader< TImage >
}
else if ( strcmp( this->GetOutput()->GetNameOfClass(), "VectorImage" ) == 0 )
{
if ( bands[ bands.size()-1 ] != bands.size() )
if ( bands[ bands.size()-1 ] != static_cast<int>(bands.size()) )
{
std::cerr << "Perform bands selection on VectorImage\n";
}
......
......@@ -75,7 +75,7 @@ int otbImageSeriesFileReader(int argc, char* argv[] )
typedef otb::StreamingImageFileWriter<ImageType> WriterType;
for ( int i = 0; i < imageList->Size(); i++ )
for ( unsigned int i = 0; i < imageList->Size(); i++ )
{
itk::OStringStream title;
title << "Image no " << i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment