Remove implicit conversion from double → float
Occurs when targeting a 32-bit architecture
This commit is contained in:
@@ -85,7 +85,7 @@ NS_INLINE NSString *MGLStringFromCoordinateBounds(MGLCoordinateBounds bounds) {
|
||||
|
||||
NS_INLINE CGFloat MGLRadiansFromDegrees(CLLocationDegrees degrees)
|
||||
{
|
||||
return degrees * M_PI / 180;
|
||||
return (CGFloat)(degrees * M_PI) / 180;
|
||||
}
|
||||
|
||||
NS_INLINE CLLocationDegrees MGLDegreesFromRadians(CGFloat radians)
|
||||
|
||||
Reference in New Issue
Block a user