Userspace: Update printf formats to compile on 32 bit

This commit is contained in:
2024-03-26 03:03:33 +02:00
parent 99e30a4d7d
commit 5dbe51a52e
3 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ BAN::ErrorOr<BAN::UniqPtr<Image>> load_netbpm(const void* mmap_addr, size_t size
return BAN::Error::from_errno(EINVAL);
}
printf("Netbpm image %" PRIuPTR "x%" PRIuPTR "\n", *width, *height);
printf("Netbpm image %" PRIu64 "x%" PRIu64 "\n", *width, *height);
BAN::Vector<Image::Color> bitmap;
TRY(bitmap.resize(*width * *height));