diff options
| author | nyamatongwe <devnull@localhost> | 2011-08-05 08:49:58 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-08-05 08:49:58 +1000 |
| commit | 2f2178bcdfed0084e1bade4b8d4bf561bc387537 (patch) | |
| tree | 1fa673cf633906bfcefbb6029f1aa30e8e0d60b6 /lexers/LexAU3.cxx | |
| parent | 89abf7e07d2c7353a397f34cab63571271bc1888 (diff) | |
| download | scintilla-mirror-2f2178bcdfed0084e1bade4b8d4bf561bc387537.tar.gz | |
Use casts to squash 64-bit warnings from strlen return value.
Diffstat (limited to 'lexers/LexAU3.cxx')
| -rw-r--r-- | lexers/LexAU3.cxx | 2 |
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'; |
