aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorJamieson Christian2003-05-26 14:19:24 +0000
committerJamieson Christian2003-05-26 14:19:24 +0000
commitb7de7081a134f1def4aeb87d71790fe36af8f348 (patch)
tree4ba60505ed1fb03778bbeb063209353785e69e80 /sky
parenta93917e4c5eaa8dbf849710f239e15b793a6f197 (diff)
downloadscummvm-rg350-b7de7081a134f1def4aeb87d71790fe36af8f348.tar.gz
scummvm-rg350-b7de7081a134f1def4aeb87d71790fe36af8f348.tar.bz2
scummvm-rg350-b7de7081a134f1def4aeb87d71790fe36af8f348.zip
Fixed VC++ warning
svn-id: r8004
Diffstat (limited to 'sky')
-rw-r--r--sky/logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index 3009f63288..961428d533 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -1748,7 +1748,7 @@ uint32 SkyLogic::fnTextModule(uint32 a, uint32 b, uint32 c) {
uint32 SkyLogic::fnChangeName(uint32 id, uint32 textNo, uint32 c) {
Compact *cpt = SkyState::fetchCompact(id);
- cpt->cursorText = textNo;
+ cpt->cursorText = (uint16) textNo;
return 1;
}