aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-05-16 17:26:25 +1000
committernyamatongwe <unknown>2012-05-16 17:26:25 +1000
commit0e5a82e17f6a5e38b539735b3b51e567a04601bb (patch)
treed4e02097238495c869ec992c9d0261e85145aba1
parenta0b7a17c46bd0476b672bb40ba4575f5812dfc72 (diff)
downloadscintilla-mirror-0e5a82e17f6a5e38b539735b3b51e567a04601bb.tar.gz
Fix signed/unsigned comparison warning.
-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;
}