[PATCH 1/2] Cast clock_t type to unsigned long

Mike Frysinger vapier at gentoo.org
Sun Apr 15 19:03:06 UTC 2012

On Sunday 15 April 2012 14:17:13 H.J. Lu wrote:
> Linux kernel v3.4 adds x32 support whose clock_t is long long.  This
> patch casts clock_t type to unsigned long for "%lu".

shouldn't we cast it to long long then and use %llu ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20120415/740bb993/attachment.bin>

More information about the Strace-devel mailing list