diff options
| author | nyamatongwe <unknown> | 2001-01-04 11:06:50 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2001-01-04 11:06:50 +0000 | 
| commit | 22aeb25499dc8c5f32486d5570d5ae05035c0e44 (patch) | |
| tree | fe61c225dda8864b34f691325a2e5885f50b3fa6 | |
| parent | 1ef3637f1acbfbc6fd4167c5938ce5ab28ab9855 (diff) | |
| download | scintilla-mirror-22aeb25499dc8c5f32486d5570d5ae05035c0e44.tar.gz | |
Fixed some warnings.
| -rw-r--r-- | src/Document.cxx | 1 | ||||
| -rw-r--r-- | src/LexOthers.cxx | 2 | 
2 files changed, 1 insertions, 2 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 69cf2a438..3e017e25e 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -971,7 +971,6 @@ int Document::WordPartLeft(int pos) {  			while (pos > 0 && IsWordPartSeparator(cb.CharAt(pos))) {  				--pos;  			} -			startChar = cb.CharAt(pos);  		}  		if (pos > 0) {  			startChar = cb.CharAt(pos); diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index d372c8b42..4ead7e580 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -67,7 +67,7 @@ static void ColouriseBatchDoc(unsigned int startPos, int length, int, WordList *  	unsigned int linePos = 0, startLine = startPos;  	for (unsigned int i = startPos; i < startPos + length; i++) {  		if (linePos != 0 || !isspace(styler[i])) {	// Skip initial spaces -			lineBuffer[linePos++] = tolower(styler[i]); +			lineBuffer[linePos++] = static_cast<char>(tolower(styler[i]));  		}  		if (styler[i] == '\r' || styler[i] == '\n' || (linePos >= sizeof(lineBuffer) - 1)) {  			lineBuffer[linePos] = '\0';  | 
