diff options
author | Zufu Liu <unknown> | 2019-01-06 12:06:48 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-01-06 12:06:48 +1100 |
commit | 5476eada003a1fbc182676c625b767efb2c16e6f (patch) | |
tree | aa2d89bf5f61cb359c8ff4a5b2dd14968965e50c /src/Document.cxx | |
parent | 2e794b1ef52cb04e93f65906a266095bc8eae4f6 (diff) | |
download | scintilla-mirror-5476eada003a1fbc182676c625b767efb2c16e6f.tar.gz |
Bug [#2068]. Fix some clang-tidy warnings.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 54a358f0b..711f314e4 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -3191,7 +3191,7 @@ const char *BuiltinRegex::SubstituteByPosition(Document *doc, const char *text, substituted.clear(); const DocumentIndexer di(doc, doc->Length()); search.GrabMatches(di); - for (int j = 0; j < *length; j++) { + for (Sci::Position j = 0; j < *length; j++) { if (text[j] == '\\') { if (text[j + 1] >= '0' && text[j + 1] <= '9') { const unsigned int patNum = text[j + 1] - '0'; |