From 71046951f8e94f9a1264eb11442052ac7aa4535c Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 28 Aug 2013 23:32:30 +0200 Subject: [PATCH] Fix build of pkgman on x86_64 by use of B_PRI... define. --- src/bin/pkgman/command_list_repos.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pkgman/command_list_repos.cpp b/src/bin/pkgman/command_list_repos.cpp index b4e5ac3891..677983a8f6 100644 --- a/src/bin/pkgman/command_list_repos.cpp +++ b/src/bin/pkgman/command_list_repos.cpp @@ -116,11 +116,11 @@ ListReposCommand::Execute(int argc, const char* const* argv) repoCache.Info().Summary().String()); printf("\t\tarch: %s\n", BPackageInfo::kArchitectureNames[ repoCache.Info().Architecture()]); - printf("\t\tpkg-count: %lu\n", repoCache.CountPackages()); + printf("\t\tpkg-count: %" B_PRIu32 "\n", + repoCache.CountPackages()); printf("\t\torig-url: %s\n", repoCache.Info().OriginalBaseURL().String()); printf("\t\torig-prio: %u\n", repoCache.Info().Priority()); - } else printf("\t\t\n"); }