The branch, features/indexmacros, has been updated.

- Log -----------------------------------------------------------------

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

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;

-----------------------------------------------------------------------

Summary of changes:
 src/insets/InsetIndex.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Repository for new features
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to