Skip to content

Commit

Permalink
Fix code scanning alert
Browse files Browse the repository at this point in the history
Fix code scanning alert - Multiplication result converted to larger type
closes mariuz#329
  • Loading branch information
arvanus committed Oct 3, 2023
1 parent 8bb7ace commit aaa5111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql/StatementBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void StatementBuilder::addNewLine()
{
completedLinesM += currentLineM;
completedLinesM += wxTextBuffer::GetEOL();
currentLineM = wxString(wxChar(' '), indentLevelM * indentCharsM);
currentLineM = wxString(wxChar(' '), static_cast<unsigned long>(indentLevelM) * static_cast<unsigned long>(indentCharsM));
}

void StatementBuilder::reset()
Expand Down

0 comments on commit aaa5111

Please sign in to comment.