Avoid warnings about loss of precision.