aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMatthew Hoops2009-08-30 02:10:25 +0000
committerMatthew Hoops2009-08-30 02:10:25 +0000
commitad144c8ee84c3a989b4166dedd6061d51a3d5e4e (patch)
tree337a26470ab92ab60f9f8c5d7e32ec119d4675e8 /engines/sci
parent40d6119fd5c8a61ffb11c7744dc60f4a07388d6d (diff)
downloadscummvm-rg350-ad144c8ee84c3a989b4166dedd6061d51a3d5e4e.tar.gz
scummvm-rg350-ad144c8ee84c3a989b4166dedd6061d51a3d5e4e.tar.bz2
scummvm-rg350-ad144c8ee84c3a989b4166dedd6061d51a3d5e4e.zip
Silence gcc warning.
svn-id: r43814
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 16818a9f4d..b152864804 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -302,7 +302,7 @@ static gfx_color_t graph_map_color(EngineState *s, int color, int priority, int
}
static reg_t kSetCursorSci0(EngineState *s, int funct_nr, int argc, reg_t *argv) {
- uint16 cursor = argv[0].toSint16();
+ int16 cursor = argv[0].toSint16();
if ((argc >= 2) && (argv[1].toSint16() == 0))
cursor = GFXOP_NO_POINTER;