fix format string warning in block-vmdk.c
PATCH 1/1 fix format string warning in block-vmdk.c
Hi,
total_size is an int64_t, so the format should be PRIi64.
block-vmdk.c (working copy) renamed from block-vmdk.c (revision 5338) +1 -1
@@ -716,7 +716,7 @@ "#DDB\n" "\n" "ddb.virtualHWVersion = \"%d\"\n" - "ddb.geometry.cylinders = \"%lu\"\n" + "ddb.geometry.cylinders = \"%" PRIi64 "\"\n" "ddb.geometry.heads = \"16\"\n" "ddb.geometry.sectors = \"63\"\n" "ddb.adapterType = \"ide\"\n";
Regards,
Signature · 1 line
Jindrich Makovicka