diff --git a/Code/DisparityMap/otbAdhesionCorrectionFilter.txx b/Code/DisparityMap/otbAdhesionCorrectionFilter.txx
index d1520692e4f8e8b47799bebb39e4a6c994774571..d2031dfbc21be165d58b96c0cc76e6205c186e7a 100644
--- a/Code/DisparityMap/otbAdhesionCorrectionFilter.txx
+++ b/Code/DisparityMap/otbAdhesionCorrectionFilter.txx
@@ -948,7 +948,7 @@ AdhesionCorrectionFilter<TImage, TMask>
           {
           double m_max = -10000000.;
           double m_min = -m_max;
-          int Count=0;
+          Count=0;
           for(int j= -big_win; j<= big_win; j++)
             {
             for(int i= -big_win; i<= big_win; i++)