lists.arthurdejong.org
RSS feed

Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d



On Wed, Mar 11, 2015 at 01:27:17PM -0700, Patrick McLean wrote:
> On Wed, 11 Mar 2015 19:59:54 +0100
> Lukas Slebodnik <lslebodn@redhat.com> wrote:
> > On (11/03/15 11:47), Tim Rice wrote:
> > >On Wed, 11 Mar 2015, Lukas Slebodnik wrote:
> > >
> > It is part of c99 standard
> > @see section 7.21.6.1 draft[1]. (page 311)
> > 
> > Which platform do you mean and what solution is more portable?
> > "%lu" fix warning just on specific architectures.
> 
> I am not sure which compilers don't support the '%zu', but if it is
> part of the c99 spec it seems reasonable.

>From the top of my head Windows don't :-)

but you hardly care about those, do you?
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/