diff options
| author | nyamatongwe <devnull@localhost> | 2000-04-04 13:35:59 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-04-04 13:35:59 +0000 | 
| commit | cc54b6b2ba9362b9b148b9b256e0a37974c47a53 (patch) | |
| tree | 3dced34d6c9f802d7e075554cea761616ce69c8b /src/LexSQL.cxx | |
| parent | 3032c371bd9231f097226869e80bf56543ae2cab (diff) | |
| download | scintilla-mirror-cc54b6b2ba9362b9b148b9b256e0a37974c47a53.tar.gz | |
Avoid lots of warnings from Borland C++.
Changed name of interface class defined in Accessor.h to Accessor.
Diffstat (limited to 'src/LexSQL.cxx')
| -rw-r--r-- | src/LexSQL.cxx | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/LexSQL.cxx b/src/LexSQL.cxx index 6433776ca..eb8464a56 100644 --- a/src/LexSQL.cxx +++ b/src/LexSQL.cxx @@ -17,11 +17,11 @@  #include "Scintilla.h"  #include "SciLexer.h" -static void classifyWordSQL(unsigned int start, unsigned int end, WordList &keywords, BufferAccess &styler) { +static void classifyWordSQL(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] = toupper(styler[start + i]); +		s[i] = static_cast<char>(toupper(styler[start + i]));  		s[i + 1] = '\0';  	}  	char chAttr = SCE_C_IDENTIFIER; @@ -35,7 +35,7 @@ static void classifyWordSQL(unsigned int start, unsigned int end, WordList &keyw  }  static void ColouriseSQLDoc(unsigned int startPos, int length, -                            int initStyle, WordList *keywordlists[], BufferAccess &styler) { +                            int initStyle, WordList *keywordlists[], Accessor &styler) {  	WordList &keywords = *keywordlists[0]; | 
