Commit c22b94c9 authored by Davis King's avatar Davis King

Minor change to avoid warnings from visual studio.

parent fee64827
......@@ -1022,7 +1022,7 @@ namespace dlib
// 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
// 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()))
{
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