mirror of https://github.com/davisking/dlib.git
Fixed compiler warning
This commit is contained in:
parent
809f5683d1
commit
5a0c09c775
|
@ -194,8 +194,8 @@ namespace dlib
|
|||
{
|
||||
// set to ignore if not totally in the crop or if too small.
|
||||
if (!get_rect(crop).contains(rect.rect) ||
|
||||
(rect.rect.height() < min_object_length_long_dim && rect.rect.width() < min_object_length_long_dim) ||
|
||||
(rect.rect.height() < min_object_length_short_dim || rect.rect.width() < min_object_length_short_dim))
|
||||
((long)rect.rect.height() < min_object_length_long_dim && (long)rect.rect.width() < min_object_length_long_dim) ||
|
||||
((long)rect.rect.height() < min_object_length_short_dim || (long)rect.rect.width() < min_object_length_short_dim))
|
||||
{
|
||||
rect.ignore = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue