Skip to content

Commit d80ee37

Browse files
GH-48151: [C++][Parquet] Fix arrow-acero-asof-join-node-test failures on s390x
1 parent d168c0c commit d80ee37

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cpp/src/arrow/compute/util.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,11 @@ void bytes_to_bits(int64_t hardware_flags, const int num_bits, const uint8_t* by
325325
bytes_next = SafeLoadUpTo8Bytes(bytes + num_bits - tail, tail);
326326
#else
327327
if (tail == 8) {
328-
bytes_next = util::SafeLoad(reinterpret_cast<const uint64_t*>(bytes + num_bits - tail));
328+
bytes_next =
329+
util::SafeLoad(reinterpret_cast<const uint64_t*>(bytes + num_bits - tail));
329330
} else {
330-
// On Big-endian systems, for bytes_to_bits, load all tail bytes in little-endian order
331-
// to ensure compatibility with subsequent bit operations
331+
// On Big-endian systems, for bytes_to_bits, load all tail bytes in little-endian
332+
// order to ensure compatibility with subsequent bit operations
332333
bytes_next = 0;
333334
for (int i = 0; i < tail; ++i) {
334335
bytes_next |= static_cast<uint64_t>((bytes + num_bits - tail)[i]) << (8 * i);

0 commit comments

Comments
 (0)