mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix sign-compare warning
Fix warning comparing long int to long unsigned int.
This commit is contained in:
parent
f7de009b17
commit
1c70d98fc1
@ -754,7 +754,7 @@ DocBookDocumentSectioning hasDocumentSectioning(ParagraphList const ¶graphs,
|
||||
bool documentHasSections = false;
|
||||
|
||||
while (bpit < epit) {
|
||||
LASSERT(bpit < paragraphs.size(), return make_tuple(documentHasSections, bpit));
|
||||
LASSERT(static_cast<size_t>(bpit) < paragraphs.size(), return make_tuple(documentHasSections, bpit));
|
||||
|
||||
Layout const &style = paragraphs[bpit].layout();
|
||||
documentHasSections |= isLayoutSectioningOrSimilar(style);
|
||||
|
Loading…
Reference in New Issue
Block a user