aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-11-15 01:14:09 +0000
committernyamatongwe <devnull@localhost>2001-11-15 01:14:09 +0000
commit9fc0dc5140d4299dbf0aed8aead1d89892aa2c00 (patch)
tree3706c0c37b2cee01723c26ad4a81d1584d9c47cf /src
parentf4d7971bbe01facd404c788c8027e7e4c27272b9 (diff)
downloadscintilla-mirror-9fc0dc5140d4299dbf0aed8aead1d89892aa2c00.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);
}
}