host/limine: Fix some mismatched printf format specifiers
diff --git a/host/limine.c b/host/limine.c
index 11dc19ff..31c2ce15 100644
--- a/host/limine.c
+++ b/host/limine.c
@@ -745,7 +745,7 @@ static int bios_install(int argc, char *argv[]) {
if (ENDSWAP(gpt_entry.starting_lba) > UINT32_MAX) {
if (!quiet) {
- fprintf(stderr, "Starting LBA of partition %zu is greater than UINT32_MAX, will not convert GPT.\n", i + 1);
+ fprintf(stderr, "Starting LBA of partition %" PRIi64 " is greater than UINT32_MAX, will not convert GPT.\n", i + 1);
}
goto no_mbr_conv;
}
@@ -754,7 +754,7 @@ static int bios_install(int argc, char *argv[]) {
if (ENDSWAP(gpt_entry.ending_lba) > UINT32_MAX) {
if (!quiet) {
- fprintf(stderr, "Ending LBA of partition %zu is greater than UINT32_MAX, will not convert GPT.\n", i + 1);
+ fprintf(stderr, "Ending LBA of partition %" PRIi64 " is greater than UINT32_MAX, will not convert GPT.\n", i + 1);
}
goto no_mbr_conv;
}
@@ -765,7 +765,7 @@ static int bios_install(int argc, char *argv[]) {
ENDSWAP(gpt_entry.partition_type_guid[1]));
if (type == -1) {
if (!quiet) {
- fprintf(stderr, "Cannot convert partition type for partition %zu, will not convert GPT.\n", i + 1);
+ fprintf(stderr, "Cannot convert partition type for partition %" PRIi64 ", will not convert GPT.\n", i + 1);
}
goto no_mbr_conv;
}
