diff options
author | rdaneelolivaw <devnull@localhost> | 2005-12-13 22:05:27 +0000 |
---|---|---|
committer | rdaneelolivaw <devnull@localhost> | 2005-12-13 22:05:27 +0000 |
commit | 85bea814f5f6e3b4bea492ce0e15001d8b6a4a2d (patch) | |
tree | 5d3afd2b64bed2a809de74d957b13516a79c2a13 /src/LexCaml.cxx | |
parent | 5c1e4aa33c23d51fa14e33278e6278f43b0b67b8 (diff) | |
download | scintilla-mirror-85bea814f5f6e3b4bea492ce0e15001d8b6a4a2d.tar.gz |
RBR - added "static_cast" after complaint from Borland compiler (I may never get used to these things)
Diffstat (limited to 'src/LexCaml.cxx')
-rw-r--r-- | src/LexCaml.cxx | 2 |
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)) |