cvs commit: src/contrib/pf/pfctl pfctl_parser.c

Max Laier max at love2party.net
Fri Jun 18 06:21:46 PDT 2004


On Friday 18 June 2004 15:09, Dag-Erling Smørgrav wrote:
> Max Laier <mlaier at FreeBSD.org> writes:
> >   Log:
> >   Fix printing of u_int64_t with a cast to unsigned long long.
>
> The correct fix is to cast it to uintmax_t and print it with %ju.

Well, this is another correct fix. I chose casting to (unsigned long long) as 
this can be fed back to OpenBSD where there is no C99 and hence no uintmax_t 
or %ju. Please note that this is code in a vendor branch and it is my concern 
to keep the diffsize down.

I cannot see any bad consequences in my fix, but maybe I overlooked something. 
In latter case, please tell me.

-- 
Best regards,				| mlaier at freebsd.org
Max Laier				| ICQ #67774661
http://pf4freebsd.love2party.net/	| mlaier at EFnet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040618/0c9596b9/attachment.bin


More information about the cvs-src mailing list