Commit report for master branch
Brian Candler
B.Candler at pobox.com
Wed Oct 17 20:05:55 CEST 2012
On Wed, Oct 17, 2012 at 11:22:49AM +0100, Arran Cudbard-Bell wrote:
> > Sorry, I meant "%lu", (unsigned long)sizeof(...)
>
> Hmm, but size_t could be 64bits, long is only guaranteed to be 32bits? If you use unsigned long long and %llu you're into C99 features.
Yes in theory, although in practice I would be extremely surprised to find a
platform where long is 32 bits and size_t is 64 bits.
Anyway, "%zu" FTW.
More information about the Freeradius-Devel
mailing list