aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-11-15 01:14:09 +0000
committernyamatongwe <unknown>2001-11-15 01:14:09 +0000
commit2801a41a40ede9c6aa37cd505697ae9d498fbd78 (patch)
tree3706c0c37b2cee01723c26ad4a81d1584d9c47cf /src
parent1f1556998546e7cfe3b38fab00a70a948c35bcc0 (diff)
downloadscintilla-mirror-2801a41a40ede9c6aa37cd505697ae9d498fbd78.tar.gz
Fixed warnings from Borland.
Diffstat (limited to 'src')
-rw-r--r--src/LexHTML.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx
index 5622f476f..6042f168f 100644
--- a/src/LexHTML.cxx
+++ b/src/LexHTML.cxx
@@ -1623,7 +1623,7 @@ static void ColouriseHTMLPiece(StyleContext &sc, WordList *keywordlists[]) {
sc.SetState(SCE_H_DEFAULT);
}
} else if (sc.state == SCE_H_TAGUNKNOWN) {
- if (!ishtmlwordchar(sc.ch) && !((sc.ch == '/') && (sc.chPrev == '<')) && sc.ch != '[') {
+ if (!ishtmlwordchar(static_cast<char>(sc.ch)) && !((sc.ch == '/') && (sc.chPrev == '<')) && sc.ch != '[') {
char s[100];
sc.GetCurrentLowered(s, sizeof(s));
if (s[1] == '/') {
@@ -1646,7 +1646,7 @@ static void ColouriseHTMLPiece(StyleContext &sc, WordList *keywordlists[]) {
}
}
} else if (sc.state == SCE_H_ATTRIBUTE) {
- if (!ishtmlwordchar(sc.ch)) {
+ if (!ishtmlwordchar(static_cast<char>(sc.ch))) {
char s[100];
sc.GetCurrentLowered(s, sizeof(s));
if (!keywordsTags.InList(s)) {
@@ -1698,7 +1698,7 @@ static void ColouriseHTMLPiece(StyleContext &sc, WordList *keywordlists[]) {
} else if (sc.ch == '>') {
sc.SetState(SCE_H_TAG);
sc.ForwardSetState(SCE_H_DEFAULT);
- } else if (ishtmlwordchar(sc.ch)) {
+ } else if (ishtmlwordchar(static_cast<char>(sc.ch))) {
sc.SetState(SCE_H_ATTRIBUTE);
}
}