From 42e0e515a36d72197c74813d0d21682d9120d625 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 Apr 2024 18:43:20 +0300 Subject: Make buildable with GCC 4.9 --- mod/mod-package-details.cxx | 2 +- mod/mod-packages.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') 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 ( search_params (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 ( search_param (squery, tn))); -- cgit v1.1