svn commit: r231669 - head/sys/fs/tmpfs

Tijl Coosemans tijl at coosemans.org
Tue Feb 14 11:33:14 UTC 2012


On Tuesday 14 February 2012 12:24:24 Tijl Coosemans wrote:
> Author: tijl
> Date: Tue Feb 14 11:24:24 2012
> New Revision: 231669
> URL: http://svn.freebsd.org/changeset/base/231669
> 
> Log:
>   Replace PRIdMAX with "jd" in a printf call. Cast the corresponding value to
>   intmax_t instead of uintmax_t, because the original type is off_t.

There should really be a better way to print 64 bit numbers than (ab)using
intmax_t. I'm sort of interested in adding an int128_t type and that would
make intmax_t 128 bit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120214/504d0e71/attachment.pgp


More information about the svn-src-head mailing list