[Scummvm-cvs-logs] SF.net SVN: scummvm: [32689] scummvm/trunk/engines/cine/unpack.cpp

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Fri Jun 13 10:37:03 CEST 2008


Revision: 32689
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32689&view=rev
Author:   buddha_
Date:     2008-06-13 01:37:03 -0700 (Fri, 13 Jun 2008)

Log Message:
-----------
Small cleanup (uint16 -> uint where still applicable).

Modified Paths:
--------------
    scummvm/trunk/engines/cine/unpack.cpp

Modified: scummvm/trunk/engines/cine/unpack.cpp
===================================================================
--- scummvm/trunk/engines/cine/unpack.cpp	2008-06-13 08:28:14 UTC (rev 32688)
+++ scummvm/trunk/engines/cine/unpack.cpp	2008-06-13 08:37:03 UTC (rev 32689)
@@ -120,25 +120,25 @@
 		*/
 		if (!nextBit()) { // 0...
 			if (!nextBit()) { // 0 0
-				uint16 numBytes = getBits(3) + 1;
+				uint numBytes = getBits(3) + 1;
 				unpackRawBytes(numBytes);
 			} else { // 0 1
-				uint16 numBytes = 2;
-				uint16 offset   = getBits(8);
+				uint numBytes = 2;
+				uint offset   = getBits(8);
 				copyRelocatedBytes(offset, numBytes);
 			}
 		} else { // 1...
-			uint16 c = getBits(2);
+			uint c = getBits(2);
 			if (c == 3) { // 1 1 1
-				uint16 numBytes = getBits(8) + 9;
+				uint numBytes = getBits(8) + 9;
 				unpackRawBytes(numBytes);
 			} else if (c < 2) { // 1 0 x
-				uint16 numBytes = c + 3;
-				uint16 offset   = getBits(c + 9);
+				uint numBytes = c + 3;
+				uint offset   = getBits(c + 9);
 				copyRelocatedBytes(offset, numBytes);
 			} else { // 1 1 0
-				uint16 numBytes = getBits(8) + 1;
-				uint16 offset   = getBits(12);
+				uint numBytes = getBits(8) + 1;
+				uint offset   = getBits(12);
 				copyRelocatedBytes(offset, numBytes);
 			}
 		}


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