Skip to content

Commit

Permalink
LASTEXPRESS: Get rid of casts on CursorManager::replaceCursor calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Jun 16, 2012
1 parent 0268f21 commit 1cda4f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/lastexpress/data/cursor.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1cda4f9

Please sign in to comment.