summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.cpp
diff options
context:
space:
mode:
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)