From fcdd4fa7b3cdf843f57b1b87155ed95337085e4a Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 21 Jan 2022 20:29:52 +0100 Subject: [PATCH] lmdb: Fix warning about type conversion --- libpkg/data/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkg/data/config.cpp b/libpkg/data/config.cpp index 5a7525d..4dd474d 100644 --- a/libpkg/data/config.cpp +++ b/libpkg/data/config.cpp @@ -55,7 +55,7 @@ Config::~Config() void Config::initStorage(const char *path, std::uint32_t maxDbs) { assert(m_storage == nullptr); // only allow initializing storage once - m_storage = std::make_unique(path, maxDbs ? maxDbs : std::max(databases.size() * 10u + 15u, 60u)); + m_storage = std::make_unique(path, maxDbs ? maxDbs : std::max(databases.size() * 10u + 15u, 60u)); for (auto &db : databases) { db.initStorage(*m_storage); }