aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexAU3.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-08-05 08:49:58 +1000
committernyamatongwe <unknown>2011-08-05 08:49:58 +1000
commitc9c71dec593d8a8f52818ead276d91aeb4d191df (patch)
tree3a0f19c55dd0cb0ad32da0af8f1ae1bb2d26117f /lexers/LexAU3.cxx
parentf13c4e804a0e2a832466d42fb3cf0a5852bf67f6 (diff)
downloadscintilla-mirror-c9c71dec593d8a8f52818ead276d91aeb4d191df.tar.gz
Use casts to squash 64-bit warnings from strlen return value.
Diffstat (limited to 'lexers/LexAU3.cxx')
-rw-r--r--lexers/LexAU3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexAU3.cxx b/lexers/LexAU3.cxx
index 72c918f07..e9ab75772 100644
--- a/lexers/LexAU3.cxx
+++ b/lexers/LexAU3.cxx
@@ -241,7 +241,7 @@ static void ColouriseAU3Doc(unsigned int startPos,
if (IsAWordChar(sc.ch) || 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';