]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: fix compiler warning [-Wsign-compare]
authorKarel Zak <kzak@redhat.com>
Thu, 26 Jul 2012 07:44:37 +0000 (09:44 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Jul 2012 07:44:37 +0000 (09:44 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/cache.c

index 220a1465ef06d15e00e23a82d4316a70faa48078..34419cb6279d2d9907d1680d948f04bf9e275f8a 100644 (file)
@@ -633,7 +633,7 @@ int test_read_tags(struct libmnt_test *ts, int argc, char *argv[])
 {
        char line[BUFSIZ];
        struct libmnt_cache *cache;
-       int i;
+       size_t i;
 
        cache = mnt_new_cache();
        if (!cache)