A minor change to avoid a compiler warning.

This commit is contained in:
Davis King 2014-04-16 21:27:11 -04:00
parent 5b18f1d3eb
commit 17ef8f04c5
1 changed files with 2 additions and 2 deletions

View File

@ -261,9 +261,9 @@ namespace dlib
assign_pixel(background_color, 0); assign_pixel(background_color, 0);
temp = background_color; temp = background_color;
unsigned long idx = 0; unsigned long idx = 0;
for (long r = 0; r < size_nr; ++r) for (unsigned long r = 0; r < size_nr; ++r)
{ {
for (long c = 0; c < size_nc; ++c) for (unsigned long c = 0; c < size_nc; ++c)
{ {
if (idx < images.size()) if (idx < images.size())
{ {