aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/gfx
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-08-31 14:01:18 +0200
committerEinar Johan Trøan Sømåen2012-08-31 14:01:18 +0200
commit2039ea6b8df36c960ff25ae56930357d40e95d1d (patch)
treef4e6f5737f6ca3880584a47554c574f11035ee98 /engines/wintermute/base/gfx
parent16b27090b1c7dc11cdc199b1a98c0f2973db5f45 (diff)
downloadscummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.tar.gz
scummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.tar.bz2
scummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.zip
WINTERMUTE: Fix g++ warnings listed by LordHoto
Diffstat (limited to 'engines/wintermute/base/gfx')
-rw-r--r--engines/wintermute/base/gfx/base_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/base_image.cpp b/engines/wintermute/base/gfx/base_image.cpp
index 1184d2bbf7..bf11e15307 100644
--- a/engines/wintermute/base/gfx/base_image.cpp
+++ b/engines/wintermute/base/gfx/base_image.cpp
@@ -93,7 +93,7 @@ byte BaseImage::getAlphaAt(int x, int y) const {
if (!_surface) {
return 0xFF;
}
- uint32 color = *(uint32 *)_surface->getBasePtr(x, y);
+ uint32 color = *(const uint32 *)_surface->getBasePtr(x, y);
byte r, g, b, a;
_surface->format.colorToARGB(color, a, r, g, b);
return a;