Skip to content

Commit

Permalink
A minor change to avoid a compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
davisking committed Jun 3, 2015
1 parent 6527b76 commit 119ce9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlib/gui_widgets/widgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 119ce9e

Please sign in to comment.