diff options
author | RichieSams | 2013-09-22 17:56:41 -0500 |
---|---|---|
committer | RichieSams | 2013-09-22 17:57:16 -0500 |
commit | dfba1a01446a32245944a86ee08a843587050753 (patch) | |
tree | 32800aa26922ed07db284ed3020c9e1369127a72 /engines | |
parent | fdd477df616f307bc599c2274d312ae1b62703a2 (diff) | |
download | scummvm-rg350-dfba1a01446a32245944a86ee08a843587050753.tar.gz scummvm-rg350-dfba1a01446a32245944a86ee08a843587050753.tar.bz2 scummvm-rg350-dfba1a01446a32245944a86ee08a843587050753.zip |
ZVISION: Don't cast away const-ness
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/render_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp index b3561fffaf..55a24c9c86 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -506,7 +506,7 @@ Graphics::Surface *RenderManager::tranposeSurface(const Graphics::Surface *surfa Graphics::Surface *tranposedSurface = new Graphics::Surface(); tranposedSurface->create(surface->h, surface->w, surface->format); - uint16 *source = (uint16 *)surface->getPixels(); + const uint16 *source = (const uint16 *)surface->getPixels(); uint16 *dest = (uint16 *)tranposedSurface->getPixels(); for (uint32 y = 0; y < tranposedSurface->h; y++) { |