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

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Fri Oct 23 10:55:59 CEST 2009


Revision: 45344
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45344&view=rev
Author:   Kirben
Date:     2009-10-23 08:55:58 +0000 (Fri, 23 Oct 2009)

Log Message:
-----------
Fix warnings.

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

Modified: tools/trunk/extract_loom_tg16.cpp
===================================================================
--- tools/trunk/extract_loom_tg16.cpp	2009-10-23 07:51:08 UTC (rev 45343)
+++ tools/trunk/extract_loom_tg16.cpp	2009-10-23 08:55:58 UTC (rev 45344)
@@ -689,7 +689,8 @@
 
 void extract_resource (FILE *input, FILE *output, p_resource res) {
 #ifdef MAKE_LFLS
-	uint16 j, off;
+	uint32 off;
+	uint16 j;
 #endif
 	uint32 i, rlen;
 	uint8 junk, rtype, rid;
@@ -1162,12 +1163,12 @@
 	FILE *input, *output;
 	char fname[1024];
 	int i, j;
-	char inputPath[768];
 #else
 	FILE *input;
 	int i;
 #endif
 	uint32 CRC;
+	char inputPath[768];
 
 	if (argc < 2) {
 		printf("\nUsage: %s <code_##.ISO>\n", argv[0]);


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