Skip to content

Commit ca35643

Browse files
committed
Fix conversion warning
1 parent 2ebe8a5 commit ca35643

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/src/arrow/util/byte_stream_split_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ void ByteStreamSplitEncodeSimd128(const uint8_t* raw_values, int width,
197197
// Number of steps in the first part of the algorithm with byte-level zipping
198198
constexpr int NumStepsByte = ReversePow2(NumValuesInBatch) + 1;
199199
// Number of steps in the first part of the algorithm with large data type zipping
200-
constexpr int NumStepsLarge = ReversePow2(sizeof(simd_batch) / NumBytes);
200+
constexpr int NumStepsLarge = ReversePow2(static_cast<int>(sizeof(simd_batch)) / NumBytes);
201201
// Total number of steps
202202
constexpr int NumSteps = NumStepsByte + NumStepsLarge;
203203

0 commit comments

Comments
 (0)