summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse-api/service/maintenancePackageTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/maintenancePackageTree.cpp b/gentoobrowse-api/service/maintenancePackageTree.cpp
index 8d7ab72..50392fc 100644
--- a/gentoobrowse-api/service/maintenancePackageTree.cpp
+++ b/gentoobrowse-api/service/maintenancePackageTree.cpp
@@ -144,7 +144,7 @@ namespace Gentoo {
d != boost::filesystem::recursive_directory_iterator(); d++) {
if (boost::filesystem::is_regular_file(d->status()) &&
!boost::algorithm::ends_with(d->path().string(), ".ebuild")) {
- auto len = snprintf(buf, BUFSIZ, "%s\t%ld\t%s\n",
+ auto len = snprintf(buf, BUFSIZ, "%s\t%ju\t%s\n",
d->path().lexically_relative(tmp).c_str(),
boost::filesystem::file_size(*d),
boost::posix_time::to_iso_extended_string(