aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unittests/ADT/StringRefTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/unittests/ADT/StringRefTest.cpp b/unittests/ADT/StringRefTest.cpp
index ac65829..cc7a7fb 100644
--- a/unittests/ADT/StringRefTest.cpp
+++ b/unittests/ADT/StringRefTest.cpp
@@ -319,8 +319,8 @@ struct UnsignedPair {
, {"256", 256}
, {"65535", 65535}
, {"65536", 65536}
- , {"4294967295", 4294967295}
- , {"4294967296", 4294967296}
+ , {"4294967295", 4294967295ULL}
+ , {"4294967296", 4294967296ULL}
, {"18446744073709551615", 18446744073709551615ULL}
, {"042", 34}
, {"0x42", 66}
@@ -341,8 +341,8 @@ struct SignedPair {
, {"32768", 32768}
, {"-32768", -32768}
, {"-32769", -32769}
- , {"2147483647", 2147483647}
- , {"2147483648", 2147483648}
+ , {"2147483647", 2147483647LL}
+ , {"2147483648", 2147483648LL}
, {"-2147483648", -2147483648LL}
, {"-2147483649", -2147483649LL}
, {"-9223372036854775808", -(9223372036854775807LL) - 1}