aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexPowerPro.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-09-09 16:59:38 +1000
committernyamatongwe <unknown>2011-09-09 16:59:38 +1000
commitc4e2263b026a0b5aa67c421b767c3ebbabda654f (patch)
treea81b91816ba7a5b16ad676ba3a2776e99a3316af /lexers/LexPowerPro.cxx
parent9f1e13f587c8c3221a99cd2beee90242c32862fc (diff)
parent9b4a855ed7962ce5da8c3e538a38f3eb396a8cc7 (diff)
downloadscintilla-mirror-c4e2263b026a0b5aa67c421b767c3ebbabda654f.tar.gz
Merge with main repository.
Diffstat (limited to 'lexers/LexPowerPro.cxx')
-rw-r--r--lexers/LexPowerPro.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexPowerPro.cxx b/lexers/LexPowerPro.cxx
index 89bce5800..e8a7a6689 100644
--- a/lexers/LexPowerPro.cxx
+++ b/lexers/LexPowerPro.cxx
@@ -155,7 +155,7 @@ static void ColourisePowerProDoc(unsigned int startPos, int length, int initStyl
if ((sc.ch > 0) && setWord.Contains(sc.ch))
{
strcpy(s_save,s);
- int tp = strlen(s_save);
+ int tp = static_cast<int>(strlen(s_save));
if (tp < 99) {
s_save[tp] = static_cast<char>(tolower(sc.ch));
s_save[tp+1] = '\0';