From aaa5111ff28c21a90ab6d53b4207079fc64d829b Mon Sep 17 00:00:00 2001 From: Lucas Rubian Schatz Date: Tue, 3 Oct 2023 11:05:01 -0300 Subject: [PATCH] Fix code scanning alert Fix code scanning alert - Multiplication result converted to larger type closes #329 --- src/sql/StatementBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/StatementBuilder.cpp b/src/sql/StatementBuilder.cpp index 1f35c930..cc5e1aa7 100644 --- a/src/sql/StatementBuilder.cpp +++ b/src/sql/StatementBuilder.cpp @@ -116,7 +116,7 @@ void StatementBuilder::addNewLine() { completedLinesM += currentLineM; completedLinesM += wxTextBuffer::GetEOL(); - currentLineM = wxString(wxChar(' '), indentLevelM * indentCharsM); + currentLineM = wxString(wxChar(' '), static_cast(indentLevelM) * static_cast(indentCharsM)); } void StatementBuilder::reset()