diff --git a/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx b/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx
index 1d2baaf3ada82deefba50ee5548c2a528106f112..8a175baf03d6c92a9db83a22528d3484aec1d195 100644
--- a/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx
+++ b/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx
@@ -135,7 +135,7 @@ private:
         
         OGRFieldType fieldType = feature.ogr().GetFieldDefnRef(iField)->GetType();
         
-        if(fieldType == OFTInteger || fieldType == ogr::version_proxy::IsOFTInteger64(fieldType))
+        if(fieldType == OFTInteger || ogr::version_proxy::IsOFTInteger64(fieldType))
           {
           std::string tmpKey="field."+key.substr(0, end - key.begin());
           AddChoice(tmpKey,item);