From a15e015b82e9b3aec350c3dfd8ac02d8f274f12d Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Thu, 14 Jan 2016 12:35:03 -0500 Subject: [PATCH] Fix compiler warnings --- Base/src/Image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();