Calculate smallest properly (it was off by one) and use proper ssize_t types for Win64
1 file changed