Fix warnings and dependencies

This commit is contained in:
eelke 2025-02-23 16:52:39 +01:00
parent 86a9a0d709
commit ee86327869
14 changed files with 38 additions and 43 deletions

View file

@ -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)
{