diff options
author | nyamatongwe <unknown> | 2000-04-04 13:35:59 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-04-04 13:35:59 +0000 |
commit | 416476290c88d15ac7297989f77fac50f5c9fcef (patch) | |
tree | 3dced34d6c9f802d7e075554cea761616ce69c8b /src/LexVB.cxx | |
parent | 42799425f8c02442df8b1af1a024a3fe8fa6e93f (diff) | |
download | scintilla-mirror-416476290c88d15ac7297989f77fac50f5c9fcef.tar.gz |
Avoid lots of warnings from Borland C++.
Changed name of interface class defined in Accessor.h to Accessor.
Diffstat (limited to 'src/LexVB.cxx')
-rw-r--r-- | src/LexVB.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LexVB.cxx b/src/LexVB.cxx index 2b2154f21..9f372c59f 100644 --- a/src/LexVB.cxx +++ b/src/LexVB.cxx @@ -17,12 +17,12 @@ #include "Scintilla.h" #include "SciLexer.h" -static int classifyWordVB(unsigned int start, unsigned int end, WordList &keywords, BufferAccess &styler) { +static int classifyWordVB(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) { char s[100]; bool wordIsNumber = isdigit(styler[start]) || (styler[start] == '.'); for (unsigned int i = 0; i < end - start + 1 && i < 30; i++) { - s[i] = tolower(styler[start + i]); + s[i] = static_cast<char>(tolower(styler[start + i])); s[i + 1] = '\0'; } char chAttr = SCE_C_DEFAULT; @@ -43,7 +43,7 @@ static int classifyWordVB(unsigned int start, unsigned int end, WordList &keywor } static void ColouriseVBDoc(unsigned int startPos, int length, int initStyle, - WordList *keywordlists[], BufferAccess &styler) { + WordList *keywordlists[], Accessor &styler) { WordList &keywords = *keywordlists[0]; |