Commit 119ce9e8 authored by Davis King's avatar Davis King

A minor change to avoid a compiler warning

parent 6527b76a
......@@ -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());
......
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