[Scummvm-cvs-logs] SF.net SVN: scummvm:[44329] scummvm/trunk/engines/draci
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Sep 25 09:06:55 CEST 2009
Revision: 44329
http://scummvm.svn.sourceforge.net/scummvm/?rev=44329&view=rev
Author: thebluegr
Date: 2009-09-25 07:06:55 +0000 (Fri, 25 Sep 2009)
Log Message:
-----------
Silenced some warnings
Modified Paths:
--------------
scummvm/trunk/engines/draci/screen.cpp
scummvm/trunk/engines/draci/script.cpp
Modified: scummvm/trunk/engines/draci/screen.cpp
===================================================================
--- scummvm/trunk/engines/draci/screen.cpp 2009-09-25 07:05:26 UTC (rev 44328)
+++ scummvm/trunk/engines/draci/screen.cpp 2009-09-25 07:06:55 UTC (rev 44329)
@@ -66,7 +66,7 @@
pal.seek(start * 4);
// Copy the palette
- for (unsigned int i = start; i < start + num; ++i) {
+ for (uint16 i = start; i < start + num; ++i) {
_palette[i * 4] = pal.readByte();
_palette[i * 4 + 1] = pal.readByte();
_palette[i * 4 + 2] = pal.readByte();
Modified: scummvm/trunk/engines/draci/script.cpp
===================================================================
--- scummvm/trunk/engines/draci/script.cpp 2009-09-25 07:05:26 UTC (rev 44328)
+++ scummvm/trunk/engines/draci/script.cpp 2009-09-25 07:06:55 UTC (rev 44329)
@@ -219,7 +219,7 @@
}
int Script::funcAtBegin(int yesno) {
- return _vm->_game->isDialogueBegin() == yesno;
+ return _vm->_game->isDialogueBegin() == (bool)yesno;
}
int Script::funcLastBlock(int blockID) {
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