aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexMySQL.cxx
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2017-07-17 15:18:31 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2017-07-17 15:18:31 +1000
commit7f6f9643d38f799155a76c108c8273f5cb2136ca (patch)
tree61fbfbb41de93e469f907d75db612a93f07995f1 /lexers/LexMySQL.cxx
parent83f45b0a9b0ed59736e7de796ec6db14c90be5c8 (diff)
downloadscintilla-mirror-7f6f9643d38f799155a76c108c8273f5cb2136ca.tar.gz
Update types for Unix LP64 after changes to Sci_Position/Sci_PositionU.
Diffstat (limited to 'lexers/LexMySQL.cxx')
-rw-r--r--lexers/LexMySQL.cxx2
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))