in reply to Re^4: [OT] LLP64 .v. LP64 portability
in thread [OT] LLP64 .v. LP64 portability

Theoretically, but given that you'll never be able to allocate a single string >2**31 on a 32-bit machine, it seems to be overkill.

I was not aware of that. What about other machines? Does it generalize to "the high/sign bit of IV is never used for valid string lengths"? If so, the code can definitely be simplified.