From 2ce8e60d532f1555b7f9fb4126691b60e4f95073 Mon Sep 17 00:00:00 2001 From: remi cresson <remi.cresson@teledetection.fr> Date: Mon, 11 Sep 2017 16:16:14 +0000 Subject: [PATCH] COMP: remove some warnings (uint comp int) --- include/otbNDVITimeSeriesFunctor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/otbNDVITimeSeriesFunctor.h b/include/otbNDVITimeSeriesFunctor.h index e35f9d9..c5c19b5 100644 --- a/include/otbNDVITimeSeriesFunctor.h +++ b/include/otbNDVITimeSeriesFunctor.h @@ -284,7 +284,7 @@ inline TOutputPixel operator ()(const TInputPixel& input) const // Compute amplitude int lastYear = dates[dates.size()-1].year; - for (unsigned int i = 0 ; i < lastYear - firstYear +1 ; i++ ) + for (int i = 0 ; i < lastYear - firstYear +1 ; i++ ) { if (minimums[i] != this->GetInputNoDataValue() && maximums[i] != this->GetInputNoDataValue()) { -- GitLab