aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem_gfx.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-21 23:30:32 +0100
committerGitHub2017-02-21 23:30:32 +0100
commit8216fd8ea6edaeb46983f04d00979d82de403dc1 (patch)
tree785f50b5ece7349a78cb7694dccddce520aa1c31 /backends/platform/wii/osystem_gfx.cpp
parente062c5ececf47e86e7b5e1292d988f2f327bb3f8 (diff)
parent6dd28d7cc15e721d15e720304dae76fca8bc653f (diff)
downloadscummvm-rg350-8216fd8ea6edaeb46983f04d00979d82de403dc1.tar.gz
scummvm-rg350-8216fd8ea6edaeb46983f04d00979d82de403dc1.tar.bz2
scummvm-rg350-8216fd8ea6edaeb46983f04d00979d82de403dc1.zip
Merge pull request #904 from AReim1982/DevKitPPC-R28
WII: Fix compiler warnings
Diffstat (limited to 'backends/platform/wii/osystem_gfx.cpp')
-rw-r--r--backends/platform/wii/osystem_gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index bb91242f98..c7989e95ad 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -713,7 +713,7 @@ void OSystem_Wii::setMouseCursor(const void *buf, uint w, uint h, int hotspotX,
}
// nasty, shouldn't the frontend set the alpha channel?
- u16 *s = (u16 *) buf;
+ const u16 *s = (const u16 *) buf;
u16 *d = (u16 *) tmp;
for (u16 y = 0; y < h; ++y) {
for (u16 x = 0; x < w; ++x) {