From 46d35a2e30079cb7ce690cd60aece17cc00f1de1 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Mon, 17 Jul 2017 15:18:31 +1000 Subject: Backport: Update types for Unix LP64 after changes to Sci_Position/Sci_PositionU. Backport of changeset 6352:df1416e3ff3a. --- lexers/LexTeX.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexTeX.cxx') 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); -- cgit v1.2.3