]> git.lyx.org Git - features.git/commit
Fix warning
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 9 Jan 2023 15:06:38 +0000 (16:06 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 9 Jan 2023 15:06:38 +0000 (16:06 +0100)
commit6093e7d6615088ce25fe296ecd82ba8f867452fc
treefd045736fb88a7bcbcb8c23997f7d3d28de182dc
parentf6083280596217987accb55538ba8bc57814b302
Fix warning

This was:
../../master/src/mathed/InsetMathBox.cpp:116:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<wchar_t> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  116 |  for (int i = 0; i < parts.size(); i += 2) {
      |                  ~~^~~~~~~~~~~~~~
../../master/src/mathed/InsetMathBox.cpp:120:20: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<wchar_t> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
src/mathed/InsetMathBox.cpp