clientlog: remove unnecessary operation in timestamp conversion

This commit is contained in:
Miroslav Lichvar 2021-12-14 10:41:08 +01:00
parent f2ba20f293
commit 43936ba0d1

View file

@ -751,7 +751,7 @@ static void
int64_to_ntp64(uint64_t ts, NTP_int64 *ntp_ts) int64_to_ntp64(uint64_t ts, NTP_int64 *ntp_ts)
{ {
ntp_ts->hi = htonl(ts >> 32); ntp_ts->hi = htonl(ts >> 32);
ntp_ts->lo = htonl(ts & ((1ULL << 32) - 1)); ntp_ts->lo = htonl(ts);
} }
/* ================================================== */ /* ================================================== */