[PATCH 1/2] Cast clock_t type to unsigned long
Dmitry V. Levin
ldv at altlinux.org
Tue Apr 17 02:54:57 UTC 2012
On Mon, Apr 16, 2012 at 08:31:46AM -0700, H.J. Lu wrote:
> On Mon, Apr 16, 2012 at 8:14 AM, Dmitry V. Levin wrote:
> > 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?
>
> Here is a patch to use unsigned long long for clock_t in resource.c
> and signal.c
Thanks, applied.
--
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/20120417/6f922c1b/attachment.bin>
More information about the Strace-devel
mailing list