Index: util/mac/launchd_test.mm |
diff --git a/util/mac/launchd_test.mm b/util/mac/launchd_test.mm |
index 65722a42cbaab2968c8e6c712dc3965bea78d3e8..8f60fc91a7250f38d43c25bfa7d5541e9d8b7fe1 100644 |
--- a/util/mac/launchd_test.mm |
+++ b/util/mac/launchd_test.mm |
@@ -78,12 +78,12 @@ TEST(Launchd, CFPropertyToLaunchData_FloatingPoint) { |
@-1.0, |
[NSNumber numberWithFloat:std::numeric_limits<float>::min()], |
[NSNumber numberWithFloat:std::numeric_limits<float>::max()], |
- [NSNumber numberWithFloat:std::numeric_limits<double>::min()], |
- [NSNumber numberWithFloat:std::numeric_limits<double>::max()], |
+ [NSNumber numberWithDouble:std::numeric_limits<double>::min()], |
+ [NSNumber numberWithDouble:std::numeric_limits<double>::max()], |
@3.1415926535897932, |
- [NSNumber numberWithFloat:std::numeric_limits<double>::infinity()], |
- [NSNumber numberWithFloat:std::numeric_limits<double>::quiet_NaN()], |
- [NSNumber numberWithFloat:std::numeric_limits<double>::signaling_NaN()], |
+ [NSNumber numberWithDouble:std::numeric_limits<double>::infinity()], |
+ [NSNumber numberWithDouble:std::numeric_limits<double>::quiet_NaN()], |
+ [NSNumber numberWithDouble:std::numeric_limits<double>::signaling_NaN()], |
}; |
for (size_t index = 0; index < arraysize(double_nses); ++index) { |