diff options
Diffstat (limited to 'lexers/LexMySQL.cxx')
-rw-r--r-- | lexers/LexMySQL.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexMySQL.cxx b/lexers/LexMySQL.cxx index 703b24daf..03cf106e6 100644 --- a/lexers/LexMySQL.cxx +++ b/lexers/LexMySQL.cxx @@ -55,7 +55,7 @@ static inline bool IsANumberChar(int ch) { */ static void CheckForKeyword(StyleContext& sc, WordList* keywordlists[], int activeState) { - int length = sc.LengthCurrent() + 1; // +1 for the next char + Sci_Position length = sc.LengthCurrent() + 1; // +1 for the next char char* s = new char[length]; sc.GetCurrentLowered(s, length); if (keywordlists[0]->InList(s)) |