From 8148c13e015b58960dc555d01eeb09d74e2e0e01 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Feb 2014 20:26:04 +0300 Subject: fix compilation warnings. --- src/render/sdl2graphics.h | 2 +- src/render/sdl2softwaregraphics.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render') diff --git a/src/render/sdl2graphics.h b/src/render/sdl2graphics.h index 15692bca9..9f604d9b5 100644 --- a/src/render/sdl2graphics.h +++ b/src/render/sdl2graphics.h @@ -204,7 +204,7 @@ class SDLGraphics final : public Graphics protected: uint32_t mRendererFlags; uint32_t mOldPixel; - int mOldAlpha; + unsigned int mOldAlpha; private: void inline calcImageRect(ImageVertexes *const vert, diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h index 265c9349d..6ef750dbd 100644 --- a/src/render/sdl2softwaregraphics.h +++ b/src/render/sdl2softwaregraphics.h @@ -173,7 +173,7 @@ class SDL2SoftwareGraphics final : public Graphics uint32_t mRendererFlags; SDL_Surface *mSurface; uint32_t mOldPixel; - int mOldAlpha; + unsigned int mOldAlpha; private: void inline calcImageRect(ImageVertexes *const vert, -- cgit v1.2.3-70-g09d2