diff options
author | Willem Jan Palenstijn | 2013-08-24 12:13:37 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-08-24 12:13:37 +0200 |
commit | 2597c884d3fe197db2b1c5ad8e9a37a392fd2827 (patch) | |
tree | cb0b105b07568767c2e45a016314ac7bb177d530 /engines/wintermute/base | |
parent | a8ff238e7a107e14f1c4a80a470601c4594238da (diff) | |
download | scummvm-rg350-2597c884d3fe197db2b1c5ad8e9a37a392fd2827.tar.gz scummvm-rg350-2597c884d3fe197db2b1c5ad8e9a37a392fd2827.tar.bz2 scummvm-rg350-2597c884d3fe197db2b1c5ad8e9a37a392fd2827.zip |
WINTERMUTE: Fix warning
Diffstat (limited to 'engines/wintermute/base')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp | 2 |
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; |