diff options
| author | nyamatongwe <devnull@localhost> | 2001-02-17 10:40:09 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2001-02-17 10:40:09 +0000 | 
| commit | 4e8fffae543c93763d8fef3715091f815dc87dbf (patch) | |
| tree | 82618e57933d9200afe8206d69e3ca3aaebb8e6b | |
| parent | abb01b3baf78d6e9db09c10cbe5777c4f9c586b6 (diff) | |
| download | scintilla-mirror-4e8fffae543c93763d8fef3715091f815dc87dbf.tar.gz | |
Fixed some warnings from Borland.
| -rw-r--r-- | src/LexAVE.cxx | 2 | ||||
| -rw-r--r-- | src/PropSet.cxx | 2 | 
2 files changed, 1 insertions, 3 deletions
| diff --git a/src/LexAVE.cxx b/src/LexAVE.cxx index 6bfced6e4..6382f6cf7 100644 --- a/src/LexAVE.cxx +++ b/src/LexAVE.cxx @@ -32,7 +32,6 @@ static void ColouriseAveDoc(unsigned int startPos, int length, int initStyle, Wo  	int state = initStyle;  	if (state == SCE_AVE_STRINGEOL)	// Does not leak onto next line  		state = SCE_AVE_DEFAULT; -	char chPrev = ' ';  	char chNext = styler[startPos];  	unsigned int lengthDoc = startPos + length;  	int visibleChars = 0; @@ -65,7 +64,6 @@ static void ColouriseAveDoc(unsigned int startPos, int length, int initStyle, Wo  			visibleChars++;  		if (styler.IsLeadByte(ch)) {  			chNext = styler.SafeGetCharAt(i + 2); -			chPrev = ' ';  			i += 1;  			continue;  		} diff --git a/src/PropSet.cxx b/src/PropSet.cxx index 45419bcd1..aa7423cbc 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -21,7 +21,7 @@ inline char MakeUpperCase(char ch) {  	if (ch < 'a' || ch > 'z')  		return ch;  	else -		return ch - 'a' + 'A'; +		return static_cast<char>(ch - 'a' + 'A');  }  int CompareCaseInsensitive(const char *a, const char *b) { | 
