diff --git a/Code/IO/otbGDALImageIO.cxx b/Code/IO/otbGDALImageIO.cxx index 4877d55216461c3251ffff38aec260c74f363389..ea0576257be25530321185d565e7f701582c427d 100755 --- a/Code/IO/otbGDALImageIO.cxx +++ b/Code/IO/otbGDALImageIO.cxx @@ -335,7 +335,8 @@ void GDALImageIO::InternalReadImageInformation() { SetComponentType(INT); } - else if((m_PxType == GDT_Float32) || (m_PxType = GDT_CFloat32) ) +// OTB-FA-00005-CS + else if((m_PxType == GDT_Float32) || (m_PxType == GDT_CFloat32) ) { SetComponentType(FLOAT); }