commit 5e87cfbf4c0e64f15f0a26c4ac5a29236b1eb962 Author: Thibaut Cuvelier <tcuvel...@lyx.org> Date: Thu Sep 1 10:57:04 2022 +0200
Fix a warning related to comparing different signedness --- src/insets/InsetIndex.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index b4a143e..94bfa13 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -1476,7 +1476,7 @@ bool operator<(IndexEntry const & lhs, IndexEntry const & rhs) if (lhs.terms_.empty()) return false; - for (int i = 0; i < min(rhs.terms_.size(), lhs.terms_.size()); ++i) { + for (unsigned i = 0; i < min(rhs.terms_.size(), lhs.terms_.size()); ++i) { int comp = compare_no_case(lhs.terms_[i], rhs.terms_[i]); if (comp != 0) return comp < 0; -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs