aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/data
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 03:18:40 +0200
committerJohannes Schickel2012-06-16 03:28:43 +0200
commit1cda4f903b320a1dff9577641b7171e2abaa82c7 (patch)
tree45a22e8301923b10633132d09e3ae3d233e34ab4 /engines/lastexpress/data
parent0268f21980491b3fc0c50dab371193d69aae43e4 (diff)
downloadscummvm-rg350-1cda4f903b320a1dff9577641b7171e2abaa82c7.tar.gz
scummvm-rg350-1cda4f903b320a1dff9577641b7171e2abaa82c7.tar.bz2
scummvm-rg350-1cda4f903b320a1dff9577641b7171e2abaa82c7.zip
LASTEXPRESS: Get rid of casts on CursorManager::replaceCursor calls.
Diffstat (limited to 'engines/lastexpress/data')
-rw-r--r--engines/lastexpress/data/cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/data/cursor.cpp b/engines/lastexpress/data/cursor.cpp
index a3e7b773a7..205c46f667 100644
--- a/engines/lastexpress/data/cursor.cpp
+++ b/engines/lastexpress/data/cursor.cpp
@@ -91,7 +91,7 @@ void Cursor::setStyle(CursorStyle style) {
// Reuse the screen pixel format
Graphics::PixelFormat pf = g_system->getScreenFormat();
- CursorMan.replaceCursor((const byte *)getCursorImage(style),
+ CursorMan.replaceCursor(getCursorImage(style),
32, 32, _cursors[style].hotspotX, _cursors[style].hotspotY,
0, false, &pf);
}