aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexLua.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-04-29 11:54:46 +1000
committerNeil <nyamatongwe@gmail.com>2014-04-29 11:54:46 +1000
commit7005b0bbc01565d1dd756ce87337542f52db8b07 (patch)
treebf0ec8fdf590e7f413a3c828ddc419131c4c27a4 /lexers/LexLua.cxx
parent113ece7951c99dda488b0c19683b0e019d8a0cf9 (diff)
downloadscintilla-mirror-7005b0bbc01565d1dd756ce87337542f52db8b07.tar.gz
Fix some warnings instead of relying upon #pragma to hide them
Diffstat (limited to 'lexers/LexLua.cxx')
-rw-r--r--lexers/LexLua.cxx2
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;