From 3b8edda8810ddffeda6d41ad033e511fc08131fa Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 12 Jul 2025 12:00:09 +0300 Subject: mu-config.hh: unbreak mac build The mac build broke (CI) because there's no conversion from time_t -> SCM defined. Since we want to use int64_t anyway (2038), simply change to that. --- lib/mu-config.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mu-config.hh b/lib/mu-config.hh index c7fd102..c405edf 100644 --- a/lib/mu-config.hh +++ b/lib/mu-config.hh @@ -254,7 +254,7 @@ public: return static_cast(str.empty() ? false : std::atol(str.c_str()) != 0); else if constexpr (type == Type::Timestamp) - return static_cast(str.empty() ? 0 : std::atoll(str.c_str())); + return static_cast(str.empty() ? 0 : std::atoll(str.c_str())); else if constexpr (type == Type::Path || type == Type::String) return str; else if constexpr (type == Type::StringList) -- cgit v1.0