Skip to content
Snippets Groups Projects
Commit f0a3d85d authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: replace and by && for win32

parent b6d7b164
No related branches found
No related tags found
No related merge requests found
......@@ -69,12 +69,12 @@ int otbImageToNoDataMaskFilter(int itkNotUsed(argc),char * itkNotUsed(argv) [])
for(it.GoToBegin();!it.IsAtEnd();++it,++count)
{
if (count%2 == 0 and it.Get()!=0)
if (count%2 == 0 && it.Get()!=0)
{
std::cerr<<"Pixel should be masked"<<std::endl;
failed = true;
}
else if(count%2 == 1 and it.Get()!=255)
else if(count%2 == 1 && it.Get()!=255)
{
std::cerr<<"Pixel should not be masked"<<std::endl;
failed = true;
......
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