diff options
author | Paweł Kołodziejski | 2003-04-26 20:06:50 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-04-26 20:06:50 +0000 |
commit | 92ddaf20f0203a9112eff9280e7ef3b4039f6133 (patch) | |
tree | 8f1a51339fef4c814d8aecb853ba0d6adb2e66b0 /sky | |
parent | e2f8a6c74c3c05c989042b7ed8c0d13280c549f1 (diff) | |
download | scummvm-rg350-92ddaf20f0203a9112eff9280e7ef3b4039f6133.tar.gz scummvm-rg350-92ddaf20f0203a9112eff9280e7ef3b4039f6133.tar.bz2 scummvm-rg350-92ddaf20f0203a9112eff9280e7ef3b4039f6133.zip |
fixed warnings under vc6
svn-id: r7146
Diffstat (limited to 'sky')
-rw-r--r-- | sky/logic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp index 297daeb760..455b1a4c35 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -985,8 +985,8 @@ uint32 SkyLogic::fnChooser(uint32 a, uint32 b, uint32 c) { data++; } - _compact->getToFlag = textNum & 0xffff; - _compact->downFlag = *p++ & 0xffff; // get animation number + _compact->getToFlag = (uint16)(textNum & 0xffff); + _compact->downFlag = (uint16)(*p++ & 0xffff); // get animation number _compact->status |= ST_MOUSE; // mouse detects @@ -1138,7 +1138,7 @@ uint32 SkyLogic::fnMoveItems(uint32 listNo, uint32 screenNo, uint32 c) { if (!*p) return 1; Compact *cpt = SkyState::fetchCompact(*p++); - cpt->screen = screenNo & 0xffff; + cpt->screen = (uint16)(screenNo & 0xffff); } return 1; } |