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 0d1d16d..de36d15 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;