From: Miod Vallat Date: Fri, 18 Jul 2025 09:36:36 +0000 (+0200) Subject: That ought to silence clang-tidy. X-Git-Tag: rec-5.4.0-alpha0~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83e9a17a085568364270e37212389a09fb55bbf7;p=thirdparty%2Fpdns.git That ought to silence clang-tidy. Signed-off-by: Miod Vallat --- diff --git a/modules/lmdbbackend/lmdbbackend.cc b/modules/lmdbbackend/lmdbbackend.cc index b3f016361..769e1a3ad 100644 --- a/modules/lmdbbackend/lmdbbackend.cc +++ b/modules/lmdbbackend/lmdbbackend.cc @@ -1902,7 +1902,7 @@ bool LMDBBackend::get(DNSZoneRecord& zr) } deserializeFromBuffer(d_currentVal.get(), d_currentrrset); - d_currentrrsettime = LMDBLS::LSgetTimestamp(d_currentVal.getNoStripHeader()) / (1000UL * 1000UL * 1000UL); + d_currentrrsettime = static_cast(LMDBLS::LSgetTimestamp(d_currentVal.getNoStripHeader()) / (1000UL * 1000UL * 1000UL)); d_currentrrsetpos = 0; } else {