summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/GIFLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGfx/GIFLoader.cpp')
-rw-r--r--Libraries/LibGfx/GIFLoader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibGfx/GIFLoader.cpp b/Libraries/LibGfx/GIFLoader.cpp
index 2f92afe67e..2c8c1afd39 100644
--- a/Libraries/LibGfx/GIFLoader.cpp
+++ b/Libraries/LibGfx/GIFLoader.cpp
@@ -249,13 +249,13 @@ RefPtr<Gfx::Bitmap> load_gif_impl(const u8* data, size_t data_size)
}
// We exited the block loop after finding a trailer. We should have everything needed.
- printf("Image count: %d\n", images.size());
+ printf("Image count: %zu\n", images.size());
if (images.is_empty())
return nullptr;
- for (int i = 0; i < images.size(); ++i) {
+ for (size_t i = 0; i < images.size(); ++i) {
auto& image = images.at(i);
- printf("Image %d: %d,%d %dx%d %d bytes LZW-encoded\n", i, image.x, image.y, image.width, image.height, image.lzw_encoded_bytes.size());
+ printf("Image %zu: %d,%d %dx%d %zu bytes LZW-encoded\n", i, image.x, image.y, image.width, image.height, image.lzw_encoded_bytes.size());
// FIXME: Decode the LZW-encoded bytes and turn them into an image.
}