diff options
author | nyamatongwe <devnull@localhost> | 2001-01-04 11:06:50 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-01-04 11:06:50 +0000 |
commit | 88ddb5a91646da0bcb42219e246da86c8b70dc77 (patch) | |
tree | fe61c225dda8864b34f691325a2e5885f50b3fa6 /src/LexOthers.cxx | |
parent | 5601461babe4904b474e5fe3320825f296a63aba (diff) | |
download | scintilla-mirror-88ddb5a91646da0bcb42219e246da86c8b70dc77.tar.gz |
Fixed some warnings.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r-- | src/LexOthers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |