summaryrefslogtreecommitdiff
path: root/src/resources/sdlrescalefacility.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/sdlrescalefacility.cpp
parent8d6636e69bc5e579190d2f5fd635e6a44ef1fdca (diff)
downloadmana-client-c7d5d825999912892d99c295ba7b583eaaa884ff.tar.gz
mana-client-c7d5d825999912892d99c295ba7b583eaaa884ff.tar.bz2
mana-client-c7d5d825999912892d99c295ba7b583eaaa884ff.tar.xz
mana-client-c7d5d825999912892d99c295ba7b583eaaa884ff.zip
Fixed compile warnings about unsigned/signed integer comparisons
Diffstat (limited to 'src/resources/sdlrescalefacility.cpp')
-rw-r--r--src/resources/sdlrescalefacility.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/sdlrescalefacility.cpp b/src/resources/sdlrescalefacility.cpp
index cc478483..54021bd0 100644
--- a/src/resources/sdlrescalefacility.cpp
+++ b/src/resources/sdlrescalefacility.cpp
@@ -266,7 +266,8 @@ int zoomSurfaceRGBA(SDL_Surface * src, SDL_Surface * dst, int flipx, int flipy,
int zoomSurfaceY(SDL_Surface * src, SDL_Surface * dst, int flipx, int flipy)
{
- Uint32 x, y, sx, sy, *sax, *say, *csax, *csay, csx, csy, sstep;
+ int x, y;
+ Uint32 sx, sy, *sax, *say, *csax, *csay, csx, csy, sstep;
Uint8 *sp, *dp, *csp;
int dgap;