MOHAWK: Fix GCC-3 cast warning.

Seen with a number of buildbot chains.

svn-id: r55718
This commit is contained in:
David Turner 2011-02-02 14:36:09 +00:00
parent e3713746a0
commit 8afafd89eb

@ -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];