From db814ebfd2fd9ae9d5da266eb1234cb2dd9c9bf3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 12 Jun 2001 04:57:30 +0000 Subject: Fixed some Borland warnings. --- src/LexCPP.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/LexCPP.cxx') diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index b7ea9f47d..b1824615c 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -170,7 +170,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo if (initStyle == SCE_C_STRINGEOL) // Does not leak onto next line initStyle = SCE_C_DEFAULT; - char chPrevNonWhite = ' '; + int chPrevNonWhite = ' '; int visibleChars = 0; bool lastWordWasUUID = false; @@ -309,7 +309,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo do { cc.Forward(); } while (IsASpace(cc.ch) && cc.More()); - } else if (isoperator(cc.ch)) { + } else if (isoperator(static_cast(cc.ch))) { cc.SetState(SCE_C_OPERATOR); } } -- cgit v1.2.3