diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-27 20:26:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-27 20:26:04 +0300 |
commit | 8148c13e015b58960dc555d01eeb09d74e2e0e01 (patch) | |
tree | 5a70a5d1aaea27f9b4c9e3449f7981ebe173f97a | |
parent | c1939cf5d0932705d21b21fe22a7a315800ffd17 (diff) | |
download | manaverse-8148c13e015b58960dc555d01eeb09d74e2e0e01.tar.gz manaverse-8148c13e015b58960dc555d01eeb09d74e2e0e01.tar.bz2 manaverse-8148c13e015b58960dc555d01eeb09d74e2e0e01.tar.xz manaverse-8148c13e015b58960dc555d01eeb09d74e2e0e01.zip |
fix compilation warnings.
-rw-r--r-- | src/render/sdl2graphics.h | 2 | ||||
-rw-r--r-- | src/render/sdl2softwaregraphics.h | 2 |
2 files changed, 2 insertions, 2 deletions
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, |