PRIVATE: Fix Another GCC Compiler Warning

This commit is contained in:
D G Turner 2021-09-15 22:08:15 +01:00
parent 8f3d07b05e
commit 4770908e58

View File

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