From 132e674296e4be9eaf2fb37a6a46919cb403b210 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Thu, 16 Apr 2015 16:43:03 +0200
Subject: [PATCH] BUG: use decent precision for label type

---
 Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx b/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx
index c23094f2b6..4d3a17ae0a 100644
--- a/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx
+++ b/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx
@@ -79,7 +79,7 @@ int main(int argc, char * argv[])
   const unsigned int Dimension = 2;
 
   // Labeled image type
-  typedef unsigned short                              LabelType;
+  typedef unsigned int                                LabelType;
   typedef unsigned char                              MaskPixelType;
   typedef double                                      PixelType;
   typedef otb::Image<LabelType, Dimension>            LabeledImageType;
-- 
GitLab