[Scummvm-cvs-logs] SF.net SVN: scummvm:[35420] scummvm/trunk/graphics/smk_player.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Thu Dec 18 06:04:55 CET 2008


Revision: 35420
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35420&view=rev
Author:   eriktorbjorn
Date:     2008-12-18 05:04:55 +0000 (Thu, 18 Dec 2008)

Log Message:
-----------
Fixed warnings. Hopefully without breaking anything.

Modified Paths:
--------------
    scummvm/trunk/graphics/smk_player.cpp

Modified: scummvm/trunk/graphics/smk_player.cpp
===================================================================
--- scummvm/trunk/graphics/smk_player.cpp	2008-12-18 02:49:01 UTC (rev 35419)
+++ scummvm/trunk/graphics/smk_player.cpp	2008-12-18 05:04:55 UTC (rev 35420)
@@ -772,7 +772,7 @@
 				cur = hi + lo;	// adding takes care of possible overflows
 				*curPointer++ = cur & 0xFF;    // low
 				curPos++;
-				*curPointer++ = cur & 0xFF00;  // high
+				*curPointer++ = (cur >> 8) & 0xFF;  // high
 				curPos++;
 			}
 
@@ -782,7 +782,7 @@
 			cur = hi + lo;	// adding takes care of possible overflows
 			*curPointer++ = cur & 0xFF;    // low
 			curPos++;
-			*curPointer++ = cur & 0xFF00;  // high
+			*curPointer++ = (cur >> 8) & 0xFF;  // high
 			curPos++;
 		}
 	}


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