summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/resources/imagehelper.cpp
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
plus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
plus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
plus-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/resources/imagehelper.cpp')
-rw-r--r--src/resources/imagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/imagehelper.cpp b/src/resources/imagehelper.cpp
index e7e3dea14..9495dde4e 100644
--- a/src/resources/imagehelper.cpp
+++ b/src/resources/imagehelper.cpp
@@ -94,7 +94,7 @@ Image *ImageHelper::load(SDL_RWops *const rw, Dye const &dye)
if (!surf)
return nullptr;
- uint32_t *const pixels = static_cast<uint32_t *const>(surf->pixels);
+ uint32_t *const pixels = static_cast<uint32_t *>(surf->pixels);
const int type = dye.getType();
switch (type)