diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2017-07-17 15:18:31 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2017-07-17 15:18:31 +1000 |
commit | 46d35a2e30079cb7ce690cd60aece17cc00f1de1 (patch) | |
tree | 586b2d92f94d0dbf09329bde04caa9f2736d71c3 /lexers/LexMySQL.cxx | |
parent | 5d888154b02ae8665464bcdfaf89e0be3a582320 (diff) | |
download | scintilla-mirror-46d35a2e30079cb7ce690cd60aece17cc00f1de1.tar.gz |
Backport: Update types for Unix LP64 after changes to Sci_Position/Sci_PositionU.
Backport of changeset 6352:df1416e3ff3a.
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)) |