Skip to content

Commit

Permalink
explicit cast for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Feb 24, 2025
1 parent 3359966 commit 3fdfa0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/parquet/column_chunker_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ void AssertChunkSizes(const std::shared_ptr<::arrow::DataType>& dtype,
PageSizes base_result, PageSizes modified_result, bool nullable,
bool enable_dictionary, uint64_t min_chunk_size,
uint64_t max_chunk_size) {
max_chunk_size *= 1.2;
max_chunk_size = static_cast<uint64_t>(1.2);
if (::arrow::is_fixed_width(dtype->id())) {
auto min_length = ElementCount(min_chunk_size, dtype->byte_width(), nullable);
auto max_length = ElementCount(max_chunk_size, dtype->byte_width(), nullable);
Expand Down

0 comments on commit 3fdfa0a

Please sign in to comment.