aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-06-22 14:09:16 +1000
committerNeil <nyamatongwe@gmail.com>2017-06-22 14:09:16 +1000
commite5c2492d33ac318758dcbf3252cdaef53ce3e176 (patch)
treef82689276094184ff1873c82fb832705cdecbfc6
parent3c77b160c45f7c13e9718be851464ec65ac38ca9 (diff)
downloadscintilla-mirror-e5c2492d33ac318758dcbf3252cdaef53ce3e176.tar.gz
Backport: Use same types for CheckLevelCommentLine to allow 64-bit Sci_Position.
Backport of changeset 6321:0adf7fb8f003.
-rw-r--r--lexers/LexFortran.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexFortran.cxx b/lexers/LexFortran.cxx
index 495b00215..7d2141f3d 100644
--- a/lexers/LexFortran.cxx
+++ b/lexers/LexFortran.cxx
@@ -257,7 +257,7 @@ static void ColouriseFortranDoc(Sci_PositionU startPos, Sci_Position length, int
}
/***************************************/
static void CheckLevelCommentLine(const unsigned int nComL,
- int nComColB[], int nComColF[], int &nComCur,
+ Sci_Position nComColB[], Sci_Position nComColF[], Sci_Position &nComCur,
bool comLineB[], bool comLineF[], bool &comLineCur,
int &levelDeltaNext) {
levelDeltaNext = 0;