On Tue, Jun 02, 2020 at 03:01:20PM +0200, Christian Eggers wrote:
> On some platforms, time_t has recently switched from "long" to "long
> long" [1]. For these platforms it is necessary to use "%lld" as printf
> format specifier because the ABI differs between "long" and "long long".
> 
> I found no way for creating something similar to PRId64 for time_t. No
> idea how to determine whether it's "long" or "long long". So I cast
> everything to "long long" instead.
> 
> [1] 
> https://git.musl-libc.org/cgit/musl/commit/?id=38143339646a4ccce8afe298c34467767c899f51
> 
> Signed-off-by: Christian Eggers <cegg...@arri.de>

Applied.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to