package_repo: fix printf() format strings

This commit is contained in:
Ingo Weinhold
2013-07-03 23:13:09 +02:00
parent c09ec54a59
commit a85e46496d
+11 -9
View File
@@ -68,7 +68,7 @@ public:
return; return;
printf("----- Repository Info Section --------------------\n"); printf("----- Repository Info Section --------------------\n");
printf("repository info size: %10lu (uncompressed)\n", printf("repository info size: %10" B_PRIu32 " (uncompressed)\n",
uncompressedSize); uncompressedSize);
} }
@@ -79,8 +79,8 @@ public:
return; return;
printf("----- Package Attribute Section -------------------\n"); printf("----- Package Attribute Section -------------------\n");
printf("string count: %10lu\n", stringCount); printf("string count: %10" B_PRIu32 "\n", stringCount);
printf("package attributes size: %10lu (uncompressed)\n", printf("package attributes size: %10" B_PRIu32 " (uncompressed)\n",
uncompressedSize); uncompressedSize);
} }
@@ -93,13 +93,15 @@ public:
printf("----- Package Repository Info -----\n"); printf("----- Package Repository Info -----\n");
if (fVerbose) if (fVerbose)
printf("embedded license count %10lu\n", licenseCount); printf("embedded license count %10" B_PRIu32 "\n", licenseCount);
printf("package count %10lu\n", packageCount); printf("package count %10" B_PRIu32 "\n", packageCount);
printf("-----------------------------------\n"); printf("-----------------------------------\n");
printf("header size: %10lu\n", headerSize); printf("header size: %10" B_PRIu32 "\n", headerSize);
printf("repository header size: %10lu\n", repositoryInfoSize); printf("repository header size: %10" B_PRIu32 "\n",
printf("package attributes size: %10lu\n", packageAttributesSize); repositoryInfoSize);
printf("total size: %10llu\n", totalSize); printf("package attributes size: %10" B_PRIu32 "\n",
packageAttributesSize);
printf("total size: %10" B_PRIu64 "\n", totalSize);
printf("-----------------------------------\n"); printf("-----------------------------------\n");
} }