From 85bea814f5f6e3b4bea492ce0e15001d8b6a4a2d Mon Sep 17 00:00:00 2001 From: rdaneelolivaw Date: Tue, 13 Dec 2005 22:05:27 +0000 Subject: RBR - added "static_cast" after complaint from Borland compiler (I may never get used to these things) --- src/LexCaml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/LexCaml.cxx b/src/LexCaml.cxx index e424bec9b..a418ab19c 100644 --- a/src/LexCaml.cxx +++ b/src/LexCaml.cxx @@ -232,7 +232,7 @@ void ColouriseCamlDoc( // length is believable as keyword, [re-]construct token char t[24]; for (int i = -n; i < 0; i++) - t[n + i] = sc.GetRelative(i); + t[n + i] = static_cast(sc.GetRelative(i)); t[n] = '\0'; // special-case "_" token as KEYWORD if ((n == 1 && sc.chPrev == '_') || keywords.InList(t)) -- cgit v1.2.3