Avoid warning about double to float conversion.