diff options
author | nyamatongwe <devnull@localhost> | 2001-06-12 04:57:30 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-06-12 04:57:30 +0000 |
commit | 2e870a56408078cc17e7a4dea26e4b5664758bd6 (patch) | |
tree | 0da1f75de7c65a60f21ee71a64895f9427555e13 /src/LexCPP.cxx | |
parent | 8326df8a963f45b7152fce157f2d6ce293843396 (diff) | |
download | scintilla-mirror-2e870a56408078cc17e7a4dea26e4b5664758bd6.tar.gz |
Fixed some Borland warnings.
Diffstat (limited to 'src/LexCPP.cxx')
-rw-r--r-- | src/LexCPP.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index b7ea9f47d..b1824615c 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -170,7 +170,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo if (initStyle == SCE_C_STRINGEOL) // Does not leak onto next line initStyle = SCE_C_DEFAULT; - char chPrevNonWhite = ' '; + int chPrevNonWhite = ' '; int visibleChars = 0; bool lastWordWasUUID = false; @@ -309,7 +309,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo do { cc.Forward(); } while (IsASpace(cc.ch) && cc.More()); - } else if (isoperator(cc.ch)) { + } else if (isoperator(static_cast<char>(cc.ch))) { cc.SetState(SCE_C_OPERATOR); } } |