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.
1 parent c7ad7f3 commit d9c6964Copy full SHA for d9c6964
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