diff options
author | rdaneelolivaw <unknown> | 2005-12-13 22:05:27 +0000 |
---|---|---|
committer | rdaneelolivaw <unknown> | 2005-12-13 22:05:27 +0000 |
commit | fbd72647e3e289facf516e5078be1660cd980292 (patch) | |
tree | 5d3afd2b64bed2a809de74d957b13516a79c2a13 /src | |
parent | 187334fd48a276517e96cb4703d34eb17d9d7579 (diff) | |
download | scintilla-mirror-fbd72647e3e289facf516e5078be1660cd980292.tar.gz |
RBR - added "static_cast" after complaint from Borland compiler (I may never get used to these things)
Diffstat (limited to 'src')
-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)) |