diff options
author | Neil <nyamatongwe@gmail.com> | 2014-04-29 11:54:46 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-04-29 11:54:46 +1000 |
commit | ca404c02432f1ab90f235eb452168d35e6f14936 (patch) | |
tree | e71de804085c2607800bfd88031ed474f06652d9 /lexers/LexLua.cxx | |
parent | b358909987be5f7c92e990939e7a2a5f0dafdb3a (diff) | |
download | scintilla-mirror-ca404c02432f1ab90f235eb452168d35e6f14936.tar.gz |
Fix some warnings instead of relying upon #pragma to hide them
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; |