mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 00:07:59 +00:00
MOHAWK: Fix GCC-3 cast warning.
Seen with a number of buildbot chains. svn-id: r55718
This commit is contained in:
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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user