Fixed type warning

This commit is contained in:
Thomas Kolb 2013-08-21 17:49:31 +02:00
parent 88c5715293
commit e89b5efb70

View file

@ -48,7 +48,7 @@ const char* format_size(off_t s) {
}
if(divisions == 0) {
sprintf(buf, "%lu B", s);
sprintf(buf, "%lli B", (long long)s);
} else {
sprintf(buf, "%.2f %ciB", fs, prefixes[divisions]);
}