aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringRefTest.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-03-11 00:51:01 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-03-11 00:51:01 +0000
commit914dc77dfc338694bc284a20161f78b6a24aaa82 (patch)
tree5ca79da9b801ede3993b0a8bcfda4eb8258ee20b /llvm/unittests/ADT/StringRefTest.cpp
parentf80b2cced7256171206824272dcf4ac7c58f4eb5 (diff)
downloadllvm-914dc77dfc338694bc284a20161f78b6a24aaa82.zip
llvm-914dc77dfc338694bc284a20161f78b6a24aaa82.tar.gz
llvm-914dc77dfc338694bc284a20161f78b6a24aaa82.tar.bz2
Fix warnings.
llvm-svn: 152522
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
-rw-r--r--llvm/unittests/ADT/StringRefTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/unittests/ADT/StringRefTest.cpp b/llvm/unittests/ADT/StringRefTest.cpp
index ac65829..cc7a7fb 100644
--- a/llvm/unittests/ADT/StringRefTest.cpp
+++ b/llvm/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}