Use safer comparisons (only matters when sizeof(int) != sizeof(size_t)). fread
and fwrite return size_t, so it is safer to cast up to the largest type for the comparison. I believe the cast is required at all to remove compiler warnings.
T
Trent Mick committed
6c116dd56bf0b27637a0b1e9721f86e8879b1e67
Parent: 46cc7c0