https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191674

Ngie Cooper <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|printf("%tu", (intmax_t)-1) |Implementation for "%tu"
                   |returns UINT64_MAX on i386, |printf(3) qualifier
                   |not UINT32_MAX              |incorrect on several 32-bit
                   |                            |architectures
                   |                            |(arm/x86/mips, i.e. when
                   |                            |sizeof(ptrdiff_t) !=
                   |                            |sizeof(*intmax_t))

--- Comment #1 from Ngie Cooper <[email protected]> ---
arm/i386/mips are affected by this because it casts the value up to
[u]intmax_t, whereas the type itself can only represent [U]INT_MAX. I know
where the general problem exists, but I don't feel comfortable right now making
the change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to