Skip to content

Commit c55d2f8

Browse files
committed
fix compile warning
1 parent 533e2cd commit c55d2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeFormatCore/src/Format/Analyzer/TokenAnalyzer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ void TokenAnalyzer::AnalyzeCallExpression(FormatState &f, LuaSyntaxNode n, const
276276

277277
void TokenAnalyzer::AnalyzeComment(FormatState &f, LuaSyntaxNode n, const LuaSyntaxTree &t) {
278278
auto text = n.GetText(t);
279-
auto pos = 0;
279+
std::size_t pos = 0;
280280
while (pos < text.size() && text[pos] == '-') {
281281
pos++;
282282
}

0 commit comments

Comments
 (0)