summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-07-12 12:00:09 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-07-12 12:00:09 +0300
commit3b8edda8810ddffeda6d41ad033e511fc08131fa (patch)
treece105e84d78a46d117f2ae1646a88bd5573fd94d
parenta81bfd438c331c794528da700e8bb1edb3cd9ca5 (diff)
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.
-rw-r--r--lib/mu-config.hh2
1 files changed, 1 insertions, 1 deletions
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<size_t>(str.empty() ? false :
std::atol(str.c_str()) != 0);
else if constexpr (type == Type::Timestamp)
- return static_cast<time_t>(str.empty() ? 0 : std::atoll(str.c_str()));
+ return static_cast<int64_t>(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)