From 88ddb5a91646da0bcb42219e246da86c8b70dc77 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 4 Jan 2001 11:06:50 +0000 Subject: Fixed some warnings. --- src/LexOthers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexOthers.cxx') 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(tolower(styler[i])); } if (styler[i] == '\r' || styler[i] == '\n' || (linePos >= sizeof(lineBuffer) - 1)) { lineBuffer[linePos] = '\0'; -- cgit v1.2.3