diff options
author | Johannes Schickel | 2010-05-17 22:46:53 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-05-17 22:46:53 +0000 |
commit | cbbb78d9f29672e0f78724344040a692018fa3a5 (patch) | |
tree | f332ffc27f9aff633913378ce3628536089291d6 /engines/gob/videoplayer.cpp | |
parent | 01070d72d39fba35ca8771055032c2b8a3f141f1 (diff) | |
download | scummvm-rg350-cbbb78d9f29672e0f78724344040a692018fa3a5.tar.gz scummvm-rg350-cbbb78d9f29672e0f78724344040a692018fa3a5.tar.bz2 scummvm-rg350-cbbb78d9f29672e0f78724344040a692018fa3a5.zip |
Enforce conversion formatting on pointer casts in the DEV code.
svn-id: r49068
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r-- | engines/gob/videoplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index ec3901415a..125edd4307 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -374,7 +374,7 @@ bool VideoPlayer::primaryPlay(int16 startFrame, int16 lastFrame, int16 breakKey, if (b) { _vm->_palAnim->fade(0, -2, 0); - memset((char *) _vm->_draw->_vgaPalette, 0, 768); + memset((char *)_vm->_draw->_vgaPalette, 0, 768); } if (!_noCursorSwitch) @@ -759,7 +759,7 @@ void VideoPlayer::copyPalette(Graphics::CoktelVideo &video, int16 palStart, int1 if (palEnd < 0) palEnd = 255; - memcpy(((char *) (_vm->_global->_pPaletteDesc->vgaPal)) + palStart * 3, + memcpy(((char *)(_vm->_global->_pPaletteDesc->vgaPal)) + palStart * 3, video.getPalette() + palStart * 3, (palEnd - palStart + 1) * 3); } |