mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 04:35:16 +00:00
PRIVATE: Fix GCC Compiler Warning
This commit is contained in:
parent
8baac0f52c
commit
858d9cd95a
@ -1279,7 +1279,7 @@ void PrivateEngine::composeImagePalette(Graphics::Surface *surf, const byte *pal
|
||||
for (i = 0; i < surf->w; i++)
|
||||
for (j = 0; j < surf->h; j++) {
|
||||
c = surf->getPixel(i, j);
|
||||
v = *((uint32*) (palette + 3*c)) & 0x00FFFFFF;
|
||||
v = *((const uint32*) (palette + 3*c)) & 0x00FFFFFF;
|
||||
|
||||
if (_colorToIndex.contains(v))
|
||||
p = _colorToIndex[v];
|
||||
|
Loading…
x
Reference in New Issue
Block a user