diff options
Diffstat (limited to 'lexers/LexHTML.cxx')
-rw-r--r-- | lexers/LexHTML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexHTML.cxx b/lexers/LexHTML.cxx index ecee57a7d..372a5b7b7 100644 --- a/lexers/LexHTML.cxx +++ b/lexers/LexHTML.cxx @@ -2134,7 +2134,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty break; default: StateToPrint = statePrintForState(state, inScriptType); - if (styler.GetStartSegment() < lengthDoc) + if (static_cast<int>(styler.GetStartSegment()) < lengthDoc) styler.ColourTo(lengthDoc - 1, StateToPrint); break; } |