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

Dmitry V. Levin ldv at altlinux.org
Mon Apr 16 15:14:35 UTC 2012


Hi,

On Mon, Apr 16, 2012 at 07:39:58AM -0700, H.J. Lu wrote:
> On Sun, Apr 15, 2012 at 11:17:13AM -0700, 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".
> > 
> > H.J.
> > ---
> 
> Here is a patch to case clock_t type to unsigned long long.

What about other cases where clock_t type is printed?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20120416/b4206f1c/attachment.bin>


More information about the Strace-devel mailing list