mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
PRIVATE: Fix Another GCC Compiler Warning
This commit is contained in:
parent
8f3d07b05e
commit
4770908e58
@ -1275,7 +1275,7 @@ void PrivateEngine::composeImagePalette(const Graphics::Surface *surf, const byt
|
||||
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))
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user