aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrdaneelolivaw <devnull@localhost>2005-12-13 22:05:27 +0000
committerrdaneelolivaw <devnull@localhost>2005-12-13 22:05:27 +0000
commit85bea814f5f6e3b4bea492ce0e15001d8b6a4a2d (patch)
tree5d3afd2b64bed2a809de74d957b13516a79c2a13
parent5c1e4aa33c23d51fa14e33278e6278f43b0b67b8 (diff)
downloadscintilla-mirror-85bea814f5f6e3b4bea492ce0e15001d8b6a4a2d.tar.gz
RBR - added "static_cast" after complaint from Borland compiler (I may never get used to these things)
-rw-r--r--src/LexCaml.cxx2
1 files changed, 1 insertions, 1 deletions
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<char>(sc.GetRelative(i));
t[n] = '\0';
// special-case "_" token as KEYWORD
if ((n == 1 && sc.chPrev == '_') || keywords.InList(t))