[Scummvm-cvs-logs] scummvm master -> 2597c884d3fe197db2b1c5ad8e9a37a392fd2827
wjp
wjp at usecode.org
Sat Aug 24 12:15:41 CEST 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2597c884d3 WINTERMUTE: Fix warning
Commit: 2597c884d3fe197db2b1c5ad8e9a37a392fd2827
https://github.com/scummvm/scummvm/commit/2597c884d3fe197db2b1c5ad8e9a37a392fd2827
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2013-08-24T03:13:37-07:00
Commit Message:
WINTERMUTE: Fix warning
Changed paths:
engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
index 6506abd..df8cabd 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;
More information about the Scummvm-git-logs
mailing list