Fixed type warning
This commit is contained in:
parent
88c5715293
commit
e89b5efb70
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue