diff options
author | Matthew Hoops | 2014-06-07 10:18:16 -0400 |
---|---|---|
committer | Matthew Hoops | 2014-06-07 10:18:16 -0400 |
commit | 21626c4ab473fda4695fd1825a58d81f73bdbc56 (patch) | |
tree | 7fa8dcc0c15d6d22883ff185adb6625bc602a8d1 /backends/platform/android/gfx.cpp | |
parent | add9010dbb99e70c7b60ca869489d9260172bbe1 (diff) | |
download | scummvm-rg350-21626c4ab473fda4695fd1825a58d81f73bdbc56.tar.gz scummvm-rg350-21626c4ab473fda4695fd1825a58d81f73bdbc56.tar.bz2 scummvm-rg350-21626c4ab473fda4695fd1825a58d81f73bdbc56.zip |
ANDROID: Fix casting away const
Diffstat (limited to 'backends/platform/android/gfx.cpp')
-rw-r--r-- | backends/platform/android/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp index b71a98338b..d7713f99d8 100644 --- a/backends/platform/android/gfx.cpp +++ b/backends/platform/android/gfx.cpp @@ -755,7 +755,7 @@ void OSystem_Android::setMouseCursor(const void *buf, uint w, uint h, return; } - uint16 *s = (uint16 *)buf; + const uint16 *s = (const uint16 *)buf; uint16 *d = (uint16 *)tmp; for (uint16 y = 0; y < h; ++y, d += pitch / 2 - w) for (uint16 x = 0; x < w; ++x, d++) |