Skip to content

Commit f7c9b01

Browse files
committed
Fix compilation error
1 parent 0590eee commit f7c9b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/arrow/util/bit_stream_utils_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class BitReader {
162162

163163
/// Advance the stream by a number of bytes, ignoring remaning bits.
164164
/// Returns true if succeed or false if there are not enough bits left.
165-
bool AdvanceBytes(int64_t num_bytes);
165+
bool AdvanceBytes(int num_bytes);
166166

167167
/// Reads a vlq encoded int from the stream. The encoded int must start at
168168
/// the beginning of a byte. Return false if there were not enough bytes in
@@ -332,7 +332,7 @@ inline bool BitReader::Advance(int64_t num_bits) {
332332
return true;
333333
}
334334

335-
inline bool BitReader::AdvanceBytes(int64_t num_bytes) {
335+
inline bool BitReader::AdvanceBytes(int num_bytes) {
336336
if (ARROW_PREDICT_FALSE(num_bytes > max_bytes_ - byte_offset_)) {
337337
return false;
338338
}

0 commit comments

Comments
 (0)