Skip to content

Commit

Permalink
fix:removing building warnings(#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
augety authored and mergify[bot] committed May 16, 2023
1 parent 12500de commit 0b481a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/tianmu/core/parameterized_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ void ParameterizedFilter::UpdateMultiIndex(bool count_only, int64_t limit) {
It needs to be increased according to the number of executions.
*/
int no_dims = 0;
for (int tableIndex = 0; tableIndex < rcTables.size(); ++tableIndex) {
for (int tableIndex = 0; tableIndex < static_cast<int>(rcTables.size()); ++tableIndex) {
auto rcTable = rcTables[tableIndex];
if (rcTable->TableType() == TType::TEMP_TABLE)
continue;
Expand Down Expand Up @@ -1559,7 +1559,7 @@ void ParameterizedFilter::FilterDeletedForSelectAll() {
if (table) {
auto &rcTables = table->GetTables();
int no_dims = 0;
for (int tableIndex = 0; tableIndex < rcTables.size(); ++tableIndex) {
for (int tableIndex = 0; tableIndex < static_cast<int>(rcTables.size()); ++tableIndex) {
auto rcTable = rcTables[tableIndex];
if (rcTable->TableType() == TType::TEMP_TABLE)
continue;
Expand Down

0 comments on commit 0b481a0

Please sign in to comment.