diff --git a/ircd/db.cc b/ircd/db.cc index 28f47da1f..bf7482a63 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -2938,7 +2938,7 @@ noexcept decltype(ircd::db::database::cache::DEFAULT_SHARD_BITS) ircd::db::database::cache::DEFAULT_SHARD_BITS ( - std::min(std::log2(size_t(db::request_pool_size)), 16.0) + std::log2(std::min(size_t(db::request_pool_size), 16UL)) ); decltype(ircd::db::database::cache::DEFAULT_STRICT)