HomeFreeBSD

ntptime: Use time_t for tv_sec related variables

Description

ntptime: Use time_t for tv_sec related variables

The struct timespec tv_sec member is of type time_t. Make sure that all
variables related to this member are of the type time_t. This is important for
targets where long is a 32-bit type and time_t a 64-bit type.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1373

Details

Provenance
sebastian.huber_embedded-brains.deAuthored on Aug 9 2024, 2:57 AM
impCommitted on Sep 6 2024, 6:34 PM
Parents
rG8aef1cd698f1: wsp: Use already-calculated distance of fingers for comparison.
Branches
Unknown
Tags
Unknown