clientlog: remove unnecessary operation in timestamp conversion
This commit is contained in:
parent
f2ba20f293
commit
43936ba0d1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
Loading…
Reference in a new issue