diff --git a/tiledb/sm/filter/test/filtered_tile_checker.h b/tiledb/sm/filter/test/filtered_tile_checker.h index 9252a997483..5f0784583d2 100644 --- a/tiledb/sm/filter/test/filtered_tile_checker.h +++ b/tiledb/sm/filter/test/filtered_tile_checker.h @@ -436,8 +436,12 @@ class FilteredTileChecker { auto checksum = checksum_per_chunk[chunk_index]; uint32_t data_size{static_cast(nelements * sizeof(T))}; checker.add_grid_chunk_checker( - data_size, nelements, start, spacing, checksum); - start += nelements * spacing; + data_size, + static_cast(nelements), + start, + spacing, + checksum); + start += static_cast(nelements) * spacing; } return checker; }