]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: avoid implicit truncating cast of inception skew 15715/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Jun 2025 07:07:00 +0000 (09:07 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Jun 2025 07:08:12 +0000 (09:08 +0200)
commit301daf568f291341b6268adced17fe5d7064c23e
tree2400a8b656dd64fd5880a22c13f463bb839b654c
parent2ad7365e29f0898ab8332c755e456fc1bf68126f
rec: avoid implicit truncating cast of inception skew

Avoid coverity complaint:
store_truncates_time_t: A time_t value is stored in an integer with too few bits to accommodate it.
The expression sig.d_siginception - g_signatureInceptionSkew is cast to unsigned int.

Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/rec-main.cc
pdns/validate.cc
pdns/validate.hh