diff --git a/Userland/Libraries/LibDNS/Answer.cpp b/Userland/Libraries/LibDNS/Answer.cpp index 33471068ba..eb8d86e174 100644 --- a/Userland/Libraries/LibDNS/Answer.cpp +++ b/Userland/Libraries/LibDNS/Answer.cpp @@ -24,7 +24,7 @@ Answer::Answer(Name const& name, RecordType type, RecordClass class_code, u32 tt bool Answer::has_expired() const { - return time(nullptr) >= m_received_time + m_ttl; + return time(nullptr) >= static_cast(m_received_time + m_ttl); } unsigned Answer::hash() const