From: Miroslav Lichvar Date: Tue, 19 May 2020 10:02:28 +0000 (+0200) Subject: clientlog: fix time_t variables X-Git-Tag: 4.0-pre3~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1afd5b23d77876089bf814fe09c53022258dbfee;p=thirdparty%2Fchrony.git clientlog: fix time_t variables The last_hit and oldest_hit timestamps are uint32_t, not time_t. --- diff --git a/clientlog.c b/clientlog.c index aee3c181..ebc7d050 100644 --- a/clientlog.c +++ b/clientlog.c @@ -165,7 +165,7 @@ static Record * get_record(IPAddr *ip) { unsigned int first, i; - time_t last_hit, oldest_hit = 0; + uint32_t last_hit, oldest_hit = 0; Record *record, *oldest_record; if (!active || (ip->family != IPADDR_INET4 && ip->family != IPADDR_INET6))