Skip to content

Commit

Permalink
Fix narrowing conversions in nightlies 2. (#4595)
Browse files Browse the repository at this point in the history
---
TYPE: NO_HISTORY
DESC: Fix narrowing conversions in nightlies 2.
  • Loading branch information
KiterLuc authored Dec 24, 2023
1 parent 18cb020 commit 1e6a38c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tiledb/sm/filter/test/filtered_tile_checker.h
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,12 @@ class FilteredTileChecker {
auto checksum = checksum_per_chunk[chunk_index];
uint32_t data_size{static_cast<uint32_t>(nelements * sizeof(T))};
checker.add_grid_chunk_checker<T>(
data_size, nelements, start, spacing, checksum);
start += nelements * spacing;
data_size,
static_cast<uint32_t>(nelements),
start,
spacing,
checksum);
start += static_cast<T>(nelements) * spacing;
}
return checker;
}
Expand Down

0 comments on commit 1e6a38c

Please sign in to comment.