aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 03:18:55 +0200
committerJohannes Schickel2012-06-16 03:28:43 +0200
commit57e0381b62790b894bb0f10f01531c629147d645 (patch)
tree02c512c18631f8e4886f4ebc3c6fd85a5f52c630 /engines/made
parent1cda4f903b320a1dff9577641b7171e2abaa82c7 (diff)
downloadscummvm-rg350-57e0381b62790b894bb0f10f01531c629147d645.tar.gz
scummvm-rg350-57e0381b62790b894bb0f10f01531c629147d645.tar.bz2
scummvm-rg350-57e0381b62790b894bb0f10f01531c629147d645.zip
MADE: Get rid of casts on CursorManager::replaceCursor calls.
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/scriptfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp
index de7b5b70f9..c57778fb71 100644
--- a/engines/made/scriptfuncs.cpp
+++ b/engines/made/scriptfuncs.cpp
@@ -574,7 +574,7 @@ int16 ScriptFunctions::sfLoadMouseCursor(int16 argc, int16 *argv) {
PictureResource *flex = _vm->_res->getPicture(argv[2]);
if (flex) {
Graphics::Surface *surf = flex->getPicture();
- CursorMan.replaceCursor((const byte *)surf->pixels, surf->w, surf->h, argv[1], argv[0], 0);
+ CursorMan.replaceCursor(surf->pixels, surf->w, surf->h, argv[1], argv[0], 0);
_vm->_res->freeResource(flex);
}
return 0;