Fixed warnings about the numbers conversions