diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-11 02:53:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-11 16:22:20 +0300 |
commit | dcba44a20e622ec38d536fb03c0c8404e9399f80 (patch) | |
tree | d0271d9a11e1117eb9a3138063710c6db73154cc /src/resources/sdlimagehelper.cpp | |
parent | 78d804ba1751134120caca22f0cf5abcfd11f29d (diff) | |
download | manaverse-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.gz manaverse-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.bz2 manaverse-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.xz manaverse-dcba44a20e622ec38d536fb03c0c8404e9399f80.zip |
Fix code style.
Diffstat (limited to 'src/resources/sdlimagehelper.cpp')
-rw-r--r-- | src/resources/sdlimagehelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index 66e1bc823..a416a35d2 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -73,7 +73,7 @@ Resource *SDLImageHelper::load(SDL_RWops *rw, Dye const &dye) for (Uint32 *p_end = pixels + surf->w * surf->h; pixels != p_end; ++pixels) { - Uint8 *p = (Uint8 *)pixels; + Uint8 *p = reinterpret_cast<Uint8 *>(pixels); const int alpha = *p & 255; if (!alpha) continue; |