]> err.no Git - systemd/commitdiff
util: fix warning
authorLennart Poettering <lennart@poettering.net>
Sat, 31 Dec 2011 02:35:45 +0000 (03:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 31 Dec 2011 02:35:45 +0000 (03:35 +0100)
src/util.c

index 0d1d16d9ac00364044ffeadd23478d981979202e..de36d1595e8c5bc4345895bcbaad1ec538f052f3 100644 (file)
@@ -5942,7 +5942,7 @@ unsigned long cap_last_cap(void) {
 }
 
 char *format_bytes(char *buf, size_t l, off_t t) {
-        int i;
+        unsigned i;
 
         static const struct {
                 const char *suffix;