Fixed build warning for btreplay
authorAlan D. Brunelle <alan.brunelle@hp.com>
Mon, 29 Nov 2010 15:34:30 +0000 (10:34 -0500)
committerAlan D. Brunelle <alan.brunelle@hp.com>
Mon, 29 Nov 2010 15:34:30 +0000 (10:34 -0500)
btreplay.c:1332: warning: comparison between signed and unsigned integer
expressions

btreplay/btreplay.c

index cba099a159f00b2ec969a90c15f37b7f7bb1bfb8..f4f5aa09c25a6ba951d4855d414ce16b40783cb6 100644 (file)
@@ -1314,7 +1314,7 @@ static void reset_input_file(struct thr_info *tip)
  */
 static void *replay_sub(void *arg)
 {
-        int i;
+        unsigned int i;
        char *mdev;
        char path[MAXPATHLEN];
        struct io_bunch bunch;