Avoid wraparound when casting unsigned size_t to signed ssize_t.
authorAndy Dougherty <doughera@lafayette.edu>
Wed, 16 Jan 2013 17:30:43 +0000 (12:30 -0500)
committerAndy Dougherty <doughera@lafayette.edu>
Wed, 16 Jan 2013 18:02:28 +0000 (13:02 -0500)
commit94e529cc4d56863d7272c254a29eda2b002a4335
tree5340bac792edbd5cc36afaa971160e02fa951bbc
parent73758d77f195684a5288d4a5ba4f2717f414d685
Avoid wraparound when casting unsigned size_t to signed ssize_t.

Practically, this only affects a perl compiled with 64-bit IVs on a 32-bit
system.  In that instance a value of count >= 2**31 would turn negative
when cast to (ssize_t).
perlio.c