aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-08-24 12:13:37 +0200
committerWillem Jan Palenstijn2013-08-24 12:13:37 +0200
commit2597c884d3fe197db2b1c5ad8e9a37a392fd2827 (patch)
treecb0b105b07568767c2e45a016314ac7bb177d530 /engines/wintermute
parenta8ff238e7a107e14f1c4a80a470601c4594238da (diff)
downloadscummvm-rg350-2597c884d3fe197db2b1c5ad8e9a37a392fd2827.tar.gz
scummvm-rg350-2597c884d3fe197db2b1c5ad8e9a37a392fd2827.tar.bz2
scummvm-rg350-2597c884d3fe197db2b1c5ad8e9a37a392fd2827.zip
WINTERMUTE: Fix warning
Diffstat (limited to 'engines/wintermute')
-rw-r--r--engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
index 6506abd29c..df8cabd974 100644
--- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
@@ -84,7 +84,7 @@ TransparentSurface::AlphaType hasTransparencyType(const Graphics::Surface *surf)
break;
}
for (int j = 0; j < surf->w; j++) {
- uint32 pix = *(uint32 *)surf->getBasePtr(j, i);
+ uint32 pix = *(const uint32 *)surf->getBasePtr(j, i);
surf->format.colorToARGB(pix, a, r, g, b);
if (a != 255) {
seenAlpha = true;