diff options
Diffstat (limited to 'lexers/LexLua.cxx')
-rw-r--r-- | lexers/LexLua.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexLua.cxx b/lexers/LexLua.cxx index 62bb44dd1..fd0d70fd4 100644 --- a/lexers/LexLua.cxx +++ b/lexers/LexLua.cxx @@ -141,7 +141,7 @@ static void ColouriseLuaDoc( char s[100]; while (setWord.Contains(c = sc.GetRelative(ln))) { // get potential label if (i < 90) - s[i++] = c; + s[i++] = static_cast<char>(c); ln++; } s[i] = '\0'; int lbl = ln; |