From 24b2acfddea20bbcdb6c714dcdc96389ab4f54b5 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sun, 6 Jan 2019 12:06:48 +1100 Subject: Backport: Bug [#2068]. Fix some clang-tidy warnings. Backport of changeset 7195:ce4394f12c76. --- src/ContractionState.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ContractionState.cxx') diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 5937be6fc..c5e352180 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -210,7 +210,7 @@ Sci::Line ContractionState::DocFromDisplay(Sci::Line lineDisplay) const { template void ContractionState::InsertLines(Sci::Line lineDoc, Sci::Line lineCount) { - for (int l = 0; l < lineCount; l++) { + for (Sci::Line l = 0; l < lineCount; l++) { InsertLine(lineDoc + l); } Check(); -- cgit v1.2.3