Index: base/strings/string_number_conversions_unittest.cc |
diff --git a/base/strings/string_number_conversions_unittest.cc b/base/strings/string_number_conversions_unittest.cc |
index fe22be9e56154362dd405362a8fabd91036c3113..937bfb8e1550c8ad892006c7bcbd7808702921c6 100644 |
--- a/base/strings/string_number_conversions_unittest.cc |
+++ b/base/strings/string_number_conversions_unittest.cc |
@@ -317,19 +317,19 @@ TEST(StringNumberConversionsTest, HexStringToUInt64) { |
} cases[] = { |
{"0", 0, true}, |
{"42", 66, true}, |
- {"-42", -66, true}, |
+ {"-42", static_cast<uint64>(-66), true}, |
{"+42", 66, true}, |
{"40acd88557b", GG_INT64_C(4444444448123), true}, |
{"7fffffff", INT_MAX, true}, |
- {"-80000000", INT_MIN, true}, |
+ {"-80000000", static_cast<uint64>(INT_MIN), true}, |
{"ffffffff", 0xffffffff, true}, |
{"DeadBeef", 0xdeadbeef, true}, |
{"0x42", 66, true}, |
- {"-0x42", -66, true}, |
+ {"-0x42", static_cast<uint64>(-66), true}, |
{"+0x42", 66, true}, |
{"0x40acd88557b", GG_INT64_C(4444444448123), true}, |
{"0x7fffffff", INT_MAX, true}, |
- {"-0x80000000", INT_MIN, true}, |
+ {"-0x80000000", static_cast<uint64>(INT_MIN), true}, |
{"0xffffffff", 0xffffffff, true}, |
{"0XDeadBeef", 0xdeadbeef, true}, |
{"0x7fffffffffffffff", kint64max, true}, |