aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorDavid Turner2011-02-02 14:36:09 +0000
committerDavid Turner2011-02-02 14:36:09 +0000
commit8afafd89eb3ee1c343a9d6d05a4cf6d1250ccbd3 (patch)
tree1cfa33c4ff690a981bf3f754f06fc5ee98511d29 /engines/mohawk
parente3713746a0063746e0207ba469561a3dae88e51f (diff)
downloadscummvm-rg350-8afafd89eb3ee1c343a9d6d05a4cf6d1250ccbd3.tar.gz
scummvm-rg350-8afafd89eb3ee1c343a9d6d05a4cf6d1250ccbd3.tar.bz2
scummvm-rg350-8afafd89eb3ee1c343a9d6d05a4cf6d1250ccbd3.zip
MOHAWK: Fix GCC-3 cast warning.
Seen with a number of buildbot chains. svn-id: r55718
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/video.cpp b/engines/mohawk/video.cpp
index 23843b000b..472b69a761 100644
--- a/engines/mohawk/video.cpp
+++ b/engines/mohawk/video.cpp
@@ -232,7 +232,7 @@ bool VideoManager::updateMovies() {
for (uint16 j = 0; j < frame->h; j++) {
for (uint16 k = 0; k < frame->w; k++) {
- byte palIndex = *((byte *)frame->getBasePtr(k, j));
+ byte palIndex = *((const byte *)frame->getBasePtr(k, j));
byte r = palette[palIndex * 3];
byte g = palette[palIndex * 3 + 1];
byte b = palette[palIndex * 3 + 2];