aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexTeX.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
commit46d35a2e30079cb7ce690cd60aece17cc00f1de1 (patch)
tree586b2d92f94d0dbf09329bde04caa9f2736d71c3 /lexers/LexTeX.cxx
parent5d888154b02ae8665464bcdfaf89e0be3a582320 (diff)
downloadscintilla-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/LexTeX.cxx')
-rw-r--r--lexers/LexTeX.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexTeX.cxx b/lexers/LexTeX.cxx
index 001416051..36cfe12cc 100644
--- a/lexers/LexTeX.cxx
+++ b/lexers/LexTeX.cxx
@@ -297,7 +297,7 @@ static inline bool isWordChar(int ch) {
return ((ch >= 'a') && (ch <= 'z')) || ((ch >= 'A') && (ch <= 'Z'));
}
-static int ParseTeXCommand(Sci_PositionU pos, Accessor &styler, char *command)
+static Sci_Position ParseTeXCommand(Sci_PositionU pos, Accessor &styler, char *command)
{
Sci_Position length=0;
char ch=styler.SafeGetCharAt(pos+1);