Skip to content

Commit 7b1f517

Browse files
committed
fix integer error
1 parent 0286725 commit 7b1f517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeFormatCore/src/Format/FormatBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ void FormatBuilder::WriteLine(std::size_t line) {
309309
if (line > 1 && _state.GetStyle().keep_indents_on_empty_lines) {
310310
AddEndOfLine(1);
311311

312-
for (int i = 1; i < line; ++i) {
312+
for (std::size_t i = 1; i < line; ++i) {
313313
WriteIndent();
314314
AddEndOfLine(1);
315315
}

0 commit comments

Comments
 (0)