Index: ui/gfx/range/range_mac_unittest.mm |
diff --git a/ui/gfx/range/range_mac_unittest.mm b/ui/gfx/range/range_mac_unittest.mm |
index c04cbfe9503a93db2387fa2d050a2e8bfe4bcae8..85323f27ce88c60aa4b949994c407643394bf6cd 100644 |
--- a/ui/gfx/range/range_mac_unittest.mm |
+++ b/ui/gfx/range/range_mac_unittest.mm |
@@ -38,6 +38,6 @@ TEST(RangeTest, FromNSRangeInvalid) { |
TEST(RangeTest, ToNSRangeInvalid) { |
gfx::Range r(gfx::Range::InvalidRange()); |
NSRange nsr = r.ToNSRange(); |
- EXPECT_EQ(NSNotFound, nsr.location); |
+ EXPECT_EQ(static_cast<NSUInteger>(NSNotFound), nsr.location); |
Nico
2015/10/09 17:42:04
Here, the signedness of NSNotFound apparently chan
Robert Sesek
2015/10/09 18:19:13
That's really weird. NSNotFound = NSIntegerMax but
|
EXPECT_EQ(0U, nsr.length); |
} |