diff options
author | Paul Gilbert | 2016-10-30 15:00:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-30 15:00:16 -0400 |
commit | 1ff861ed3f4cb591e7d19b79b40a49d662a32755 (patch) | |
tree | e881222ba143c1fb40262259cec5958ac23c9a4b /engines/titanic/support/transparency_surface.cpp | |
parent | f04174aa8a0c871dbb2a5523d747ec11d65c036c (diff) | |
download | scummvm-rg350-1ff861ed3f4cb591e7d19b79b40a49d662a32755.tar.gz scummvm-rg350-1ff861ed3f4cb591e7d19b79b40a49d662a32755.tar.bz2 scummvm-rg350-1ff861ed3f4cb591e7d19b79b40a49d662a32755.zip |
TITANIC: Fix somer compiler warnings
Diffstat (limited to 'engines/titanic/support/transparency_surface.cpp')
-rw-r--r-- | engines/titanic/support/transparency_surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/support/transparency_surface.cpp b/engines/titanic/support/transparency_surface.cpp index 5ffa8b99b1..eb3fc28b52 100644 --- a/engines/titanic/support/transparency_surface.cpp +++ b/engines/titanic/support/transparency_surface.cpp @@ -46,7 +46,7 @@ CTransparencySurface::CTransparencySurface(const Graphics::Surface *surface, _flag1 = false; break; case TRANS_DEFAULT: - if (*(byte *)surface->getPixels() < 0x80) { + if (*(const byte *)surface->getPixels() < 0x80) { _flag1 = true; _flag2 = false; } |