K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-16T19:15:25.244967Z K 7 svn:log V 302 Don't cast SIZE_T_MAX to off_t. I focused so much on the 32-bits case where we have to cast SIZE_T_MAX up in size, that I forgot about the 64-bits case, where off_t and size_t are equal in size. Simply cast both numbers to uintmax_t, as we can assume st_size is never negative. Reported by: cperciva END