olena: olena-2.0-765-gbdade6e Kill warnings about signed vs unsigned values.

* mln/topo/is_not_1d_isthmus.hh (mln::topo::is_not_1d_isthmus<I, N>::operator()): Here. --- milena/ChangeLog | 7 +++++++ milena/mln/topo/is_not_1d_isthmus.hh | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index f8c7388..e43f313 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,12 @@ 2013-08-29 Roland Levillain <roland@lrde.epita.fr> + Kill warnings about signed vs unsigned values. + + * mln/topo/is_not_1d_isthmus.hh + (mln::topo::is_not_1d_isthmus<I, N>::operator()): Here. + +2013-08-29 Roland Levillain <roland@lrde.epita.fr> + Catch up with the current interface of breadth_first_thinning. * apps/morphers/recorder-bft.cc: Here. diff --git a/milena/mln/topo/is_not_1d_isthmus.hh b/milena/mln/topo/is_not_1d_isthmus.hh index 9ed7468..03ab080 100644 --- a/milena/mln/topo/is_not_1d_isthmus.hh +++ b/milena/mln/topo/is_not_1d_isthmus.hh @@ -1,4 +1,4 @@ -// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE) +// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory (LRDE) // // This file is part of the Milena Library. This library is free // software; you can redistribute it and/or modify it under the terms @@ -198,7 +198,7 @@ namespace mln is_not_1d_isthmus<I, N>::operator()(const mln_psite(I)& p) const { mln_precondition(ima_); - return connectivity_number_fg_(*ima_, p, true) < 2; + return connectivity_number_fg_(*ima_, p, true) < 2u; } # endif // MLN_INCLUDE_ONLY -- 1.7.10.4
participants (1)
-
Roland Levillain