summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-27 20:26:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-27 20:26:04 +0300
commit8148c13e015b58960dc555d01eeb09d74e2e0e01 (patch)
tree5a70a5d1aaea27f9b4c9e3449f7981ebe173f97a /src/render
parentc1939cf5d0932705d21b21fe22a7a315800ffd17 (diff)
downloadmanaplus-8148c13e015b58960dc555d01eeb09d74e2e0e01.tar.gz
manaplus-8148c13e015b58960dc555d01eeb09d74e2e0e01.tar.bz2
manaplus-8148c13e015b58960dc555d01eeb09d74e2e0e01.tar.xz
manaplus-8148c13e015b58960dc555d01eeb09d74e2e0e01.zip
fix compilation warnings.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/sdl2graphics.h2
-rw-r--r--src/render/sdl2softwaregraphics.h2
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,