"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "f73ca908e56e24fd9da75fe019f8027fb4c18154"
Commit c22b94c9 authored by Davis King's avatar Davis King
Browse files

Minor change to avoid warnings from visual studio.

parent fee64827
...@@ -1022,7 +1022,7 @@ namespace dlib ...@@ -1022,7 +1022,7 @@ namespace dlib
// Figure out how far we go on the first column. We go until the next image can // Figure out how far we go on the first column. We go until the next image can
// fit next to the previous one, which means we can double back for the second // fit next to the previous one, which means we can double back for the second
// column of images. // column of images.
if (i.nc() <= img.nc()-prev_width-padding && if (i.nc() <= img.nc()-prev_width-(long)padding &&
(height-img.nr())*2 >= (total_height-img.nr())) (height-img.nr())*2 >= (total_height-img.nr()))
{ {
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment