We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0270918 + d9c6964 commit 1af14bdCopy full SHA for 1af14bd
CodeService/src/FormatElement/FormatContext.cpp
@@ -157,7 +157,7 @@ bool FormatContext::ShouldBreakLine(TextRange range)
157
column += _parser->GetLuaFile()->GetLineRestCharacter(range.StartOffset);
158
}
159
160
- return column >= _options.max_line_length;
+ return static_cast<int>(column) >= _options.max_line_length;
161
162
163
std::shared_ptr<LuaParser> FormatContext::GetParser()
0 commit comments