mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
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]
This commit is contained in:
parent
f608328059
commit
6093e7d661
@ -113,7 +113,7 @@ void splitAndWrapInMText(MathMLStream & ms, MathData const & cell,
|
|||||||
// Finally, output the complete inset: escape the test in <m:mtext>, leave
|
// Finally, output the complete inset: escape the test in <m:mtext>, leave
|
||||||
// the other tags untouched.
|
// the other tags untouched.
|
||||||
ms << MTag("mrow", attributes);
|
ms << MTag("mrow", attributes);
|
||||||
for (int i = 0; i < parts.size(); i += 2) {
|
for (std::size_t i = 0; i < parts.size(); i += 2) {
|
||||||
ms << MTag("mtext")
|
ms << MTag("mtext")
|
||||||
<< parts[i]
|
<< parts[i]
|
||||||
<< ETag("mtext");
|
<< ETag("mtext");
|
||||||
|
Loading…
Reference in New Issue
Block a user