Omnifilter: Windows build fix
parent
e46bf93c73
commit
3b423ddf2b
|
|
@ -263,7 +263,7 @@ void Omnifilter::onNeedleCheckboxChanged(LLUICtrl* ctrl)
|
|||
|
||||
void Omnifilter::onLogLine(time_t time, const std::string& log_line)
|
||||
{
|
||||
LLDate date(time);
|
||||
LLDate date((F64)time);
|
||||
|
||||
LLSD substitution;
|
||||
substitution["datetime"] = date;
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ void OmnifilterEngine::init()
|
|||
|
||||
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));
|
||||
mLogSignal(now, needle_name);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue