diff options
Diffstat (limited to 'src/guichan/sdl/sdlgraphics.cpp')
-rw-r--r-- | src/guichan/sdl/sdlgraphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp index 952be9093..482642e30 100644 --- a/src/guichan/sdl/sdlgraphics.cpp +++ b/src/guichan/sdl/sdlgraphics.cpp @@ -596,8 +596,8 @@ namespace gcn const ClipRectangle& top = mClipStack.top(); - destination.x += top.xOffset; - destination.y += top.yOffset; + destination.x += static_cast<int16_t>(top.xOffset); + destination.y += static_cast<int16_t>(top.yOffset); SDL_BlitSurface(surface, &source, mTarget, &destination); } |