]> git.lyx.org Git - lyx.git/commit
Fix three sign-compare compiler warning
authorScott Kostyshak <skostysh@lyx.org>
Tue, 10 Oct 2023 14:07:23 +0000 (10:07 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 10 Oct 2023 14:13:37 +0000 (10:13 -0400)
commit1273f25c76f313b4b4d89402b6c1cbc9b1644509
treee46b334ecb5bb03d7f6842a90e428eff228c38f2
parent531a37baee776e4a984820809d5ef4bcbe6f5047
Fix three sign-compare compiler warning

Fixes three similar warnings. One of them is the following:

src/insets/InsetInfo.cpp:1583:20: error: comparison of integers of different signs: 'int' and 'std::basic_string<wchar_t>::size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
        for (int i = 0; i < sequence.length(); ++i) {
                        ~ ^ ~~~~~~~~~~~~~~~~~
src/insets/InsetInfo.cpp