[Scummvm-cvs-logs] SF.net SVN: scummvm:[41659] tools/trunk/extract_t7g_mac.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Fri Jun 19 05:36:20 CEST 2009


Revision: 41659
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41659&view=rev
Author:   Kirben
Date:     2009-06-19 03:36:20 +0000 (Fri, 19 Jun 2009)

Log Message:
-----------
Fix compile.

Modified Paths:
--------------
    tools/trunk/extract_t7g_mac.cpp

Modified: tools/trunk/extract_t7g_mac.cpp
===================================================================
--- tools/trunk/extract_t7g_mac.cpp	2009-06-19 00:15:28 UTC (rev 41658)
+++ tools/trunk/extract_t7g_mac.cpp	2009-06-19 03:36:20 UTC (rev 41659)
@@ -119,10 +119,10 @@
 		fclose(ifp);
 		error("Seek error");
 	}
-	uint numResTypes = readUint16BE(ifp) + 1;
+	uint16 numResTypes = readUint16BE(ifp) + 1;
 	char resType[5];
 	resType[4] = 0;
-	for (uint i = 0; i < numResTypes; i++) {
+	for (uint16 i = 0; i < numResTypes; i++) {
 		if (fseek(ifp, offsetResTypes + 2 + 8 * i, SEEK_SET)) {
 			fclose(ifp);
 			error("Seek error");


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