A minor change to avoid a compiler warning

This commit is contained in:
Davis King 2015-06-03 17:33:55 -04:00
parent 6527b76a67
commit 119ce9e8c8
1 changed files with 1 additions and 1 deletions

View File

@ -5800,7 +5800,7 @@ namespace dlib
const canvas& c
) const
{
if (depth.nr() < c.height() || depth.nc() < c.width())
if (depth.nr() < (long)c.height() || depth.nc() < (long)c.width())
depth.set_size(c.height(), c.width());
assign_all_pixels(depth, std::numeric_limits<float>::infinity());