From 43936ba0d138ba88bcf132030c8aca48963c2178 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 14 Dec 2021 10:41:08 +0100 Subject: [PATCH] clientlog: remove unnecessary operation in timestamp conversion --- clientlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientlog.c b/clientlog.c index 79d643f..96cb04e 100644 --- a/clientlog.c +++ b/clientlog.c @@ -751,7 +751,7 @@ static void int64_to_ntp64(uint64_t ts, NTP_int64 *ntp_ts) { ntp_ts->hi = htonl(ts >> 32); - ntp_ts->lo = htonl(ts & ((1ULL << 32) - 1)); + ntp_ts->lo = htonl(ts); } /* ================================================== */