From: Stuart Henderson Subject: Re: inttypes.h? To: Christian Weisgerber Cc: gameoftrees@openbsd.org Date: Sun, 27 Sep 2020 11:43:07 +0100 On 2020/09/26 17:41, Christian Weisgerber wrote: > * ... casts time_t and off_t values to long long, so they are > guaranteed to match the %lld format specifier. On OpenBSD that > happens to be the case, on FreeBSD it's a mess that varies by > architecture. I don't know if that's acceptable, but I see similar > casts in ssh. That's the standard method we settled on for this in OpenBSD and used for most things I fixed in ports - seems the most portable way.