Skip to content

Commit 1cc8814

Browse files
committed
Fix build.
1 parent e01209b commit 1cc8814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SerialPrograms/Source/ML/Programs/ML_LabelImages.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ void DrawnBoundingBox::on_mouse_release(double, double){
113113
}
114114
}
115115
if (min_mask_x < INT_MAX && max_mask_x > min_mask_x && min_mask_y < INT_MAX && max_mask_y > min_mask_y){
116-
const int mask_width = max_mask_x - min_mask_x;
117-
const int mask_height = max_mask_y - min_mask_y;
116+
const size_t mask_width = max_mask_x - min_mask_x;
117+
const size_t mask_height = max_mask_y - min_mask_y;
118118
ImageFloatBox mask_box(
119119
min_mask_x/double(source_width), min_mask_y/double(source_height),
120120
mask_width/double(source_width), mask_height/double(source_height));

0 commit comments

Comments
 (0)