summaryrefslogtreecommitdiff
path: root/src/resources/sdlrescalefacility.cpp
diff options
context:
space:
mode:
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;