From ca404c02432f1ab90f235eb452168d35e6f14936 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 29 Apr 2014 11:54:46 +1000 Subject: Fix some warnings instead of relying upon #pragma to hide them --- lexers/LexLua.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexLua.cxx') 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(c); ln++; } s[i] = '\0'; int lbl = ln; -- cgit v1.2.3