From: Michael J. Spencer Date: Sun, 11 Mar 2012 00:51:01 +0000 (+0000) Subject: Fix warnings. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dbb4b2fb5eaa9ea99da620a7df764da0b73323d6;p=oota-llvm.git Fix warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152522 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ADT/StringRefTest.cpp b/unittests/ADT/StringRefTest.cpp index ac6582936a7..cc7a7fbe332 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}