We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72b274a commit 83cb8f4Copy full SHA for 83cb8f4
src/iceberg/deletes/roaring_position_bitmap.cc
@@ -177,7 +177,7 @@ Result<std::string> RoaringPositionBitmap::Serialize() const {
177
buf += kBitmapCountSizeBytes;
178
179
// Write each bitmap with its key
180
- for (int32_t key = 0; key < static_cast<int32_t>(impl_->bitmaps.size()); ++key) {
+ for (int32_t key = 0; std::cmp_less(key, impl_->bitmaps.size()); ++key) {
181
WriteLE32(buf, key);
182
buf += kBitmapKeySizeBytes;
183
size_t written = impl_->bitmaps[key].write(buf, /*portable=*/true);
0 commit comments