[Scummvm-cvs-logs] scummvm master -> 21626c4ab473fda4695fd1825a58d81f73bdbc56

clone2727 clone2727 at gmail.com
Sat Jun 7 16:25:18 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
21626c4ab4 ANDROID: Fix casting away const


Commit: 21626c4ab473fda4695fd1825a58d81f73bdbc56
    https://github.com/scummvm/scummvm/commit/21626c4ab473fda4695fd1825a58d81f73bdbc56
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2014-06-07T10:18:16-04:00

Commit Message:
ANDROID: Fix casting away const

Changed paths:
    backends/platform/android/gfx.cpp



diff --git a/backends/platform/android/gfx.cpp b/backends/platform/android/gfx.cpp
index b71a983..d7713f9 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++)






More information about the Scummvm-git-logs mailing list