Commit report for master branch
a.cudbardb at freeradius.org
Wed Oct 17 12:22:49 CEST 2012
On 17 Oct 2012, at 10:41, Brian Candler <B.Candler at pobox.com> wrote:
> On Wed, Oct 17, 2012 at 09:26:35AM +0100, Phil Mayers wrote:
>>> I guess if there's any doubt,
>>> "%lu", (long)sizeof(...)
>>> should be pretty safe.
>> Yuck. Cast of unsigned to signed :oP
> 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.
More information about the Freeradius-Devel