diff --git a/Base/src/Image.cpp b/Base/src/Image.cpp index d0c3f89..8754392 100644 --- a/Base/src/Image.cpp +++ b/Base/src/Image.cpp @@ -216,8 +216,8 @@ Image Image::Diff(Image *other, float mult) { other->ComputePixels(); Image result(GetWidth(), GetHeight()); - for (int j = 0; j < GetHeight(); ++j) { - for (int i = 0; i < GetWidth(); ++i) { + for (uint32 j = 0; j < GetHeight(); ++j) { + for (uint32 i = 0; i < GetWidth(); ++i) { result(i, j) = PixelAbs((*this)(i, j) - (*other)(i, j)); result(i, j) *= mult; result(i, j).MakeOpaque();