We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98524e4 commit fee5a7eCopy full SHA for fee5a7e
1 file changed
Source/NSMeasurement.m
@@ -69,8 +69,8 @@ - (NSMeasurement *) measurementByConvertingToUnit: (NSUnit *)unit
69
{
70
if ([self canBeConvertedToUnit: unit])
71
72
- NSUnitConverter *fromConv = [_unit converter];
73
- NSUnitConverter *toConv = [unit converter];
+ NSUnitConverter *fromConv = [(NSDimension*)_unit converter];
+ NSUnitConverter *toConv = [(NSDimension*)unit converter];
74
NSMeasurement *result;
75
double val;
76
0 commit comments