aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 03:19:34 +0200
committerJohannes Schickel2012-06-16 03:28:43 +0200
commit7b646e5c62c37b5a593994d1e27a79c62fecd501 (patch)
tree5a1cca9e08531ddfae21606b3a626986d6ee6720 /engines/sci/graphics
parent60a6ce70c1e792f14169641a50a9a43c8b65eb10 (diff)
downloadscummvm-rg350-7b646e5c62c37b5a593994d1e27a79c62fecd501.tar.gz
scummvm-rg350-7b646e5c62c37b5a593994d1e27a79c62fecd501.tar.bz2
scummvm-rg350-7b646e5c62c37b5a593994d1e27a79c62fecd501.zip
SCI: Get rid of casts on CursorManager::replaceCursor calls.
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp
index 14ffa69f91..ce77cf6ed3 100644
--- a/engines/sci/graphics/cursor.cpp
+++ b/engines/sci/graphics/cursor.cpp
@@ -411,7 +411,7 @@ void GfxCursor::refreshPosition() {
}
}
- CursorMan.replaceCursor((const byte *)_cursorSurface, cursorCelInfo->width, cursorCelInfo->height, cursorHotspot.x, cursorHotspot.y, cursorCelInfo->clearKey);
+ CursorMan.replaceCursor(_cursorSurface, cursorCelInfo->width, cursorCelInfo->height, cursorHotspot.x, cursorHotspot.y, cursorCelInfo->clearKey);
}
}