aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-05-16 17:26:25 +1000
committernyamatongwe <devnull@localhost>2012-05-16 17:26:25 +1000
commit115947cb3cb18fd4284a5d0339b94369fdf2e499 (patch)
treeda482563a4445ee4de07d4447bd695462e5b2794 /lexers/LexHTML.cxx
parentc39222beff14c178de0b1ada866ed6f692a2f47d (diff)
downloadscintilla-mirror-115947cb3cb18fd4284a5d0339b94369fdf2e499.tar.gz
Fix signed/unsigned comparison warning.
Diffstat (limited to 'lexers/LexHTML.cxx')
-rw-r--r--lexers/LexHTML.cxx2
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;
}