[Mit-cadr-cvs] r351 - trunk/emulator/usim

ggilley at common-lisp.net ggilley at common-lisp.net
Fri Nov 23 18:15:26 UTC 2012


Author: ggilley
Date: Fri Nov 23 10:15:24 2012
New Revision: 351

Log:
fix compile error on ubuntu

Modified:
   trunk/emulator/usim/diskmaker.c

Modified: trunk/emulator/usim/diskmaker.c
==============================================================================
--- trunk/emulator/usim/diskmaker.c	Fri Nov 23 10:13:56 2012	(r350)
+++ trunk/emulator/usim/diskmaker.c	Fri Nov 23 10:15:24 2012	(r351)
@@ -903,11 +903,12 @@
 {
     int fd;
     int found = 0;
+    unsigned int i;
 
     if (read_labl(filename) < 0)
         return -1;
 
-    for (unsigned int i = 0; i < part_count; i++)
+    for (i = 0; i < part_count; i++)
     {
         if (strcasecmp(partition_name, parts[i].name) == 0)
         {




More information about the mit-cadr-cvs mailing list