summaryrefslogtreecommitdiff
path: root/unittests
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
commitdbb4b2fb5eaa9ea99da620a7df764da0b73323d6 (patch)
tree1e52a784c55f8c7ac0fccfa90c9c2796ef6c357f /unittests
parenta13fb621bbbdc07d24ffbe1e771d52ff2111e2b7 (diff)
downloadllvm-dbb4b2fb5eaa9ea99da620a7df764da0b73323d6.tar.gz
llvm-dbb4b2fb5eaa9ea99da620a7df764da0b73323d6.tar.bz2
llvm-dbb4b2fb5eaa9ea99da620a7df764da0b73323d6.tar.xz
Fix warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-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 ac6582936a..cc7a7fbe33 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}