Fix integer conversion.