]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib: [mangle.c] fix compiler warnings [-Wsign-compare]
authorKarel Zak <kzak@redhat.com>
Mon, 1 Aug 2011 10:18:22 +0000 (12:18 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 1 Aug 2011 10:18:22 +0000 (12:18 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/mangle.c

index a5e157bc98c03e4188cd3cedc4e41c739d200bd4..fd0ee993ece8bb5194d05c9a4e7d2768ccecd111 100644 (file)
@@ -20,7 +20,7 @@ static unsigned char need_escaping[] = { ' ', '\t', '\n', '\\' };
 char *mangle(const char *s)
 {
        char *ss, *sp;
-       int n;
+       size_t n;
 
        if (!s)
                return NULL;