HomeFreeBSD

linprocfs: Fix i386 time type

Description

linprocfs: Fix i386 time type

Cast the time type to (long). This is correct on all architectures. On
i386, this promotes the int time_t to a long (which is also 32-bit). On
64-bit architectures, this promotes the 64-bit signed time_t to a 64-bit
signed int type.

Sponsored by: Netflix

Details

Provenance
impAuthored on May 11 2024, 10:36 PM
Parents
rGc5f906d32d2b: linux: Make module standalone-buildable
Branches
Unknown
Tags
Unknown
Reverted By
rG71ffda413069: Revert linprocfs commits