summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-07-25 22:25:01 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-07-25 22:32:48 +0200
commitc7d5d825999912892d99c295ba7b583eaaa884ff (patch)
tree71036239d82b1759e239bffa34c2ee448004b1e3 /src/resources/image.cpp
parent8d6636e69bc5e579190d2f5fd635e6a44ef1fdca (diff)
downloadMana-c7d5d825999912892d99c295ba7b583eaaa884ff.tar.gz
Mana-c7d5d825999912892d99c295ba7b583eaaa884ff.tar.bz2
Mana-c7d5d825999912892d99c295ba7b583eaaa884ff.tar.xz
Mana-c7d5d825999912892d99c295ba7b583eaaa884ff.zip
Fixed compile warnings about unsigned/signed integer comparisons
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 66f87ccb..dafc3e87 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -405,7 +405,7 @@ float Image::getAlpha() const
return mAlpha;
}
-Image* Image::SDLgetScaledImage(unsigned int width, unsigned int height)
+Image* Image::SDLgetScaledImage(int width, int height)
{
// No scaling on incorrect new values.
if (width == 0 || height == 0)