Fix warnings and dependencies
This commit is contained in:
parent
86a9a0d709
commit
ee86327869
14 changed files with 38 additions and 43 deletions
|
|
@ -42,7 +42,7 @@ std::string HumanReadableBytes(uint64_t bytes)
|
|||
};
|
||||
|
||||
std::ostringstream out;
|
||||
for (int i = 0; i < (sizeof(scales) / sizeof(scale)); ++i)
|
||||
for (unsigned int i = 0; i < (sizeof(scales) / sizeof(scale)); ++i)
|
||||
{
|
||||
if (bytes >= scales[i].scale)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue