aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-04-01 18:43:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-04-01 18:43:20 +0300
commit42e0e515a36d72197c74813d0d21682d9120d625 (patch)
tree84a0bf660bafb9b7a4c0df27a550c1bf4383e872
parent6cb77d97d659441036fac18af6479eeac4127dcb (diff)
Make buildable with GCC 4.9
-rw-r--r--mod/mod-package-details.cxx2
-rw-r--r--mod/mod-packages.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-package-details.cxx b/mod/mod-package-details.cxx
index 5cf0759..fcd50da 100644
--- a/mod/mod-package-details.cxx
+++ b/mod/mod-package-details.cxx
@@ -227,7 +227,7 @@ handle (request& rq, response& rs)
<< ~TABLE;
}
- auto pkg_count (
+ size_t pkg_count (
package_db_->query_value<package_count> (
search_params<package_count> (squery, tenant, name)));
diff --git a/mod/mod-packages.cxx b/mod/mod-packages.cxx
index 914a841..6026024 100644
--- a/mod/mod-packages.cxx
+++ b/mod/mod-packages.cxx
@@ -156,7 +156,7 @@ handle (request& rq, response& rs)
session sn;
transaction t (package_db_->begin ());
- auto pkg_count (
+ size_t pkg_count (
package_db_->query_value<latest_package_count> (
search_param<latest_package_count> (squery, tn)));