diff options
-rw-r--r-- | engines/mohawk/video.cpp | 2 |
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]; |