From 2e964baeef9a74d45090583b52419afa3c9c47bf Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 9 Oct 2009 21:47:33 +0000 Subject: Some const correctness changes; cleanup svn-id: r44850 --- backends/platform/ps2/Gs2dScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/platform/ps2/Gs2dScreen.cpp') diff --git a/backends/platform/ps2/Gs2dScreen.cpp b/backends/platform/ps2/Gs2dScreen.cpp index 048c122765..1da7018648 100644 --- a/backends/platform/ps2/Gs2dScreen.cpp +++ b/backends/platform/ps2/Gs2dScreen.cpp @@ -298,7 +298,7 @@ void Gs2dScreen::createAnimTextures(void) { for (int i = 0; i < 16; i++) { uint32 *destPos = (uint32*)buf; for (int ch = 15; ch >= 0; ch--) { - uint32 *src = (uint32*)(_binaryData + ((_binaryPattern[i] >> ch) & 1) * 4 * 14); + const uint32 *src = (const uint32*)(_binaryData + ((_binaryPattern[i] >> ch) & 1) * 4 * 14); for (int line = 0; line < 14; line++) destPos[line << 4] = src[line]; destPos++; -- cgit v1.2.3