From 676bb5dc4f6e8a355986db8dae2d62e2a26d4019 Mon Sep 17 00:00:00 2001
From: remi <remi.cresson@irstea.fr>
Date: Wed, 27 Feb 2019 13:35:47 +0100
Subject: [PATCH] COMP: fix compilation error with last OTB develop branch

---
 app/otbDensePolygonClassStatistics.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/otbDensePolygonClassStatistics.cxx b/app/otbDensePolygonClassStatistics.cxx
index dd2ec2d..5b285a1 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);
-- 
GitLab