Fixing warning for implicit conversion loses integer precision.