diff --git a/app/otbDensePolygonClassStatistics.cxx b/app/otbDensePolygonClassStatistics.cxx index dd2ec2de6c09fcf9a9b9486188a7a2c0eed87dcf..5b285a1de9547bb614dd2a72d8cf32cb60713c01 100644 --- a/app/otbDensePolygonClassStatistics.cxx +++ b/app/otbDensePolygonClassStatistics.cxx @@ -139,7 +139,7 @@ private: OGRFieldType fieldType = feature.ogr().GetFieldDefnRef(iField)->GetType(); - if(fieldType == OFTString || fieldType == OFTInteger || ogr::version_proxy::IsOFTInteger64(fieldType)) + if(fieldType == OFTString || fieldType == OFTInteger) { std::string tmpKey="field."+key.substr(0, end - key.begin()); AddChoice(tmpKey,item);