We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61301e commit 49237fbCopy full SHA for 49237fb
1 file changed
cpp/src/arrow/util/byte_size.cc
@@ -207,7 +207,7 @@ struct GetByteRangesArray {
207
// 2. Reference a value multiple times without repeating it in the data buffer
208
//
209
// Producing exact byte size would require linear scan of all values in view buffer
210
- for (int i = 2; i < input.buffers.size(); i++) {
+ for (size_t i = 2; i < input.buffers.size(); i++) {
211
const Buffer& buf = *input.buffers[i];
212
RETURN_NOT_OK(range_starts->Append(reinterpret_cast<uint64_t>(buf.data())));
213
RETURN_NOT_OK(range_offsets->Append(0));
0 commit comments