Skip to content

Commit

Permalink
Fix compilation warning in datatype mismatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Adams committed Nov 7, 2023
1 parent e4dab56 commit de4db1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/larcv3/app/queueio/BatchFillerBBox.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ namespace larcv3 {

auto & bbox_collection = bbox_data.as_vector().at(_projection);

int max_bbox(bbox_collection.size());
size_t max_bbox(bbox_collection.size());
if (max_bbox > _max_boxes) {
max_bbox = _max_boxes;
LARCV_SCRITICAL() << "Truncating the number of boxes to " << _max_boxes << "!" << std::endl;
Expand Down

0 comments on commit de4db1a

Please sign in to comment.