[Scummvm-cvs-logs] SF.net SVN: scummvm:[55379] scummvm/trunk/engines/mohawk
fuzzie at users.sourceforge.net
fuzzie at users.sourceforge.net
Fri Jan 21 15:20:48 CET 2011
Revision: 55379
http://scummvm.svn.sourceforge.net/scummvm/?rev=55379&view=rev
Author: fuzzie
Date: 2011-01-21 14:20:48 +0000 (Fri, 21 Jan 2011)
Log Message:
-----------
MOHAWK: Add casts to remaining uses of ~0.
This silences some warnings for now.
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/cstime_game.cpp
scummvm/trunk/engines/mohawk/cstime_ui.cpp
Modified: scummvm/trunk/engines/mohawk/cstime_game.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/cstime_game.cpp 2011-01-21 14:17:49 UTC (rev 55378)
+++ scummvm/trunk/engines/mohawk/cstime_game.cpp 2011-01-21 14:20:48 UTC (rev 55379)
@@ -477,7 +477,7 @@
invDisplay->setState(0);
}
- setState(~0);
+ setState((uint)~0);
_currHover = 0xffff;
interface->clearTextLine();
@@ -607,7 +607,7 @@
}
void CSTimeConversation::clear() {
- _state = ~0;
+ _state = (uint)~0;
_talkCount = 0;
_sourceChar = 0xffff;
_currHover = 0xffff;
Modified: scummvm/trunk/engines/mohawk/cstime_ui.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/cstime_ui.cpp 2011-01-21 14:17:49 UTC (rev 55378)
+++ scummvm/trunk/engines/mohawk/cstime_ui.cpp 2011-01-21 14:20:48 UTC (rev 55379)
@@ -830,7 +830,7 @@
}
CSTimeHelp::CSTimeHelp(MohawkEngine_CSTime *vm) : _vm(vm) {
- _state = ~0;
+ _state = (uint)~0;
}
CSTimeHelp::~CSTimeHelp() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list