From 4cffca0da71771d0d51ba4cd4842d2d93aa2946e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Oct 2012 21:38:23 +0300 Subject: Fix some conversions. --- src/guichan/sdl/sdlgraphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/guichan/sdl') 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(top.xOffset); + destination.y += static_cast(top.yOffset); SDL_BlitSurface(surface, &source, mTarget, &destination); } -- cgit v1.2.3-70-g09d2