This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Correct type of SSIZE_MAX for 32-bit (bug 13575)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]