Correct type of SSIZE_MAX for 32-bit (bug 13575)
Florian Weimer
fweimer@redhat.com
Tue Feb 6 19:06:00 GMT 2018
On 02/01/2018 09:37 PM, Joseph Myers wrote:
> +ssize_t x;
> +extern __typeof (SSIZE_MAX) x;
Does this assert the equivalence of the types (just like a pointer
assignment would do)? Maybe at a comment to that effect?
I'm not sure if __WORDSIZE32_SIZE_ULONG is the right condition for that
because it does not seem to govern the actual definition if
size_t/ssize_t, but with the compile test to check for consistency, it's
good enough, I think.
Thanks,
Florian
More information about the Libc-alpha
mailing list