diff --git a/app/otbComputeVectorFeaturesStatistics.cxx b/app/otbComputeVectorFeaturesStatistics.cxx index 4637f20996633aa5a99408ca80c79d77cd43be83..df01656dd82edddeb11856a19121f48a0efc697f 100644 --- a/app/otbComputeVectorFeaturesStatistics.cxx +++ b/app/otbComputeVectorFeaturesStatistics.cxx @@ -109,7 +109,7 @@ private: OGRFieldType fieldType = feature.ogr().GetFieldDefnRef(iField)->GetType(); - if(fieldType == OFTInteger || ogr::version_proxy::IsOFTInteger64(fieldType) || fieldType == OFTReal) + if(fieldType == OFTInteger || fieldType == OFTInteger64 || fieldType == OFTReal) { std::string tmpKey="feat."+key.substr(0, end - key.begin()); AddChoice(tmpKey,item);