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.
This commit is contained in:
Dirk-Jan C. Binnema
2025-07-12 12:00:09 +03:00
parent a81bfd438c
commit 3b8edda881

View File

@ -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)