Omnifilter: Windows build fix

master
Zi Ree 2025-12-10 19:47:39 +01:00
parent e46bf93c73
commit 3b423ddf2b
2 changed files with 2 additions and 2 deletions

View File

@ -263,7 +263,7 @@ void Omnifilter::onNeedleCheckboxChanged(LLUICtrl* ctrl)
void Omnifilter::onLogLine(time_t time, const std::string& log_line) void Omnifilter::onLogLine(time_t time, const std::string& log_line)
{ {
LLDate date(time); LLDate date((F64)time);
LLSD substitution; LLSD substitution;
substitution["datetime"] = date; substitution["datetime"] = date;

View File

@ -58,7 +58,7 @@ void OmnifilterEngine::init()
const OmnifilterEngine::Needle* OmnifilterEngine::logMatch(const std::string& needle_name, const Needle& needle) const OmnifilterEngine::Needle* OmnifilterEngine::logMatch(const std::string& needle_name, const Needle& needle)
{ {
time_t now = LLDate::now().secondsSinceEpoch(); time_t now = (time_t)LLDate::now().secondsSinceEpoch();
mLog.push_back(std::make_pair(now, needle_name)); mLog.push_back(std::make_pair(now, needle_name));
mLogSignal(now, needle_name); mLogSignal(now, needle_name);