[Scummvm-cvs-logs] SF.net SVN: scummvm:[54779] scummvm/trunk/engines/mohawk/myst_stacks/myst. cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Sun Dec 5 18:23:57 CET 2010


Revision: 54779
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54779&view=rev
Author:   mthreepwood
Date:     2010-12-05 17:23:57 +0000 (Sun, 05 Dec 2010)

Log Message:
-----------
MOHAWK: Silence a warning

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp

Modified: scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp	2010-12-05 16:19:52 UTC (rev 54778)
+++ scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp	2010-12-05 17:23:57 UTC (rev 54779)
@@ -924,7 +924,7 @@
 }
 
 uint16 MystScriptParser_Myst::rocketSliderGetSound(uint16 pos) {
-	return 9530 + (pos - 216) * 35.0 * 0.01639344262295082;
+	return (uint16)(9530 + (pos - 216) * 35.0 * 0.01639344262295082);
 }
 
 void MystScriptParser_Myst::rocketCheckSolution() {


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