Fixed a 32-bit overflow.