Fixed invalid length detection of APE files on 32bit systems caused by integer overflow.