diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2025-07-12 12:00:09 +0300 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2025-07-12 12:00:09 +0300 |
| commit | 3b8edda8810ddffeda6d41ad033e511fc08131fa (patch) | |
| tree | ce105e84d78a46d117f2ae1646a88bd5573fd94d /lib | |
| parent | a81bfd438c331c794528da700e8bb1edb3cd9ca5 (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.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mu-config.hh | 2 |
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) |
