diff --git a/src/video/SDL_surface.c b/src/video/SDL_surface.c index b5fbba1aa3..c051d83687 100644 --- a/src/video/SDL_surface.c +++ b/src/video/SDL_surface.c @@ -688,7 +688,8 @@ int SDL_BlitSurface(SDL_Surface *src, const SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect) { SDL_Rect fulldst; - int srcx, srcy, w, h; + int srcx, srcy; + Sint64 w, h; /* Make sure the surfaces aren't locked */ if (!src || !dst) {