aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/video_theora_player.cpp
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/video/video_theora_player.cpp
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/video/video_theora_player.cpp')
-rw-r--r--engines/wintermute/video/video_theora_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index 2804c3d3a9..0d23a04af4 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -342,7 +342,7 @@ void VideoTheoraPlayer::writeAlpha() {
if (_alphaImage && _surface.w == _alphaImage->getSurface()->w && _surface.h == _alphaImage->getSurface()->h) {
assert(_alphaImage->getSurface()->format.bytesPerPixel == 4);
assert(_surface.format.bytesPerPixel == 4);
- const byte *alphaData = (byte *)_alphaImage->getSurface()->getBasePtr(0, 0);
+ const byte *alphaData = (const byte *)_alphaImage->getSurface()->getBasePtr(0, 0);
#ifdef SCUMM_LITTLE_ENDIAN
int alphaPlace = (_alphaImage->getSurface()->format.aShift / 8);
#else