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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user