chiark / gitweb /
[PATCH] fix -Wsign-compare warnings
[elogind.git] / namedev_parse.c
index 3b14a6a50051a10e774b47f0dbbb5c0d8c311022..5bd59d83f230ea2113bacb48ccf25efbe86c2c06 100644 (file)
@@ -126,7 +126,7 @@ static int namedev_parse(const char *filename, void *data)
        cur = 0;
        lineno = 0;
        while (cur < bufsize) {
-               int i, j;
+               unsigned int i, j;
 
                count = buf_get_line(buf, bufsize, cur);
                bufline = &buf[cur];