diff options
author | Johannes Schickel | 2012-06-16 02:37:02 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-06-16 02:39:00 +0200 |
commit | 5f65cf9679b7c01052bb4e7fe46a74a10f84665c (patch) | |
tree | 12db52648568f622a09ebcba334512b871cdf313 /engines/sword25/gfx/graphicengine.cpp | |
parent | d8aff72402a808082e1000851b0e11dbd5f57786 (diff) | |
download | scummvm-rg350-5f65cf9679b7c01052bb4e7fe46a74a10f84665c.tar.gz scummvm-rg350-5f65cf9679b7c01052bb4e7fe46a74a10f84665c.tar.bz2 scummvm-rg350-5f65cf9679b7c01052bb4e7fe46a74a10f84665c.zip |
SWORD25: Get rid of casts on OSystem::copyRectToScreen calls.
Diffstat (limited to 'engines/sword25/gfx/graphicengine.cpp')
-rw-r--r-- | engines/sword25/gfx/graphicengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/gfx/graphicengine.cpp b/engines/sword25/gfx/graphicengine.cpp index 14ba032107..6f5da32bc4 100644 --- a/engines/sword25/gfx/graphicengine.cpp +++ b/engines/sword25/gfx/graphicengine.cpp @@ -216,7 +216,7 @@ bool GraphicEngine::fill(const Common::Rect *fillRectPtr, uint color) { } } - g_system->copyRectToScreen((byte *)_backSurface.getBasePtr(rect.left, rect.top), _backSurface.pitch, rect.left, rect.top, rect.width(), rect.height()); + g_system->copyRectToScreen(_backSurface.getBasePtr(rect.left, rect.top), _backSurface.pitch, rect.left, rect.top, rect.width(), rect.height()); } return true; |