1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

Everywhere: Fix incorrect uses of String::format and StringBuilder::appendf

These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.
This commit is contained in:
Sahan Fernando 2021-01-12 01:35:55 +11:00 committed by Andreas Kling
parent fe2b8906d4
commit 9bf76a85c8
5 changed files with 6 additions and 6 deletions

View file

@ -232,7 +232,7 @@ static Optional<size_t> read_huffman_bits(HuffmanStreamState& hstream, size_t co
{
if (count > (8 * sizeof(size_t))) {
#ifdef JPG_DEBUG
dbg() << String::format("Can't read %i bits at once!", count);
dbg() << String::format("Can't read %zu bits at once!", count);
#endif
return {};
}