Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xwu99 committed Dec 17, 2021
1 parent e4cefcc commit 26fead0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ class RecordBatchesIterAdapter: public dmlc::DataIter<ArrowColumnarBatchVec> {

bool Next() override {
batches_.clear();
while (batches_.size() < (size_t)nbatches_ && (*next_callback_)(this) != 0) {
while (batches_.size() < static_cast<size_t>(nbatches_) && (*next_callback_)(this) != 0) {
at_first_ = false;
}

Expand Down

0 comments on commit 26fead0

Please sign in to comment.