Fix real-to-integer conversion warnings.