Fix int precision warnings.