[llvm-commits] [llvm] r152522 - /llvm/trunk/unittests/ADT/StringRefTest.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Sat Mar 10 16:51:01 PST 2012
Author: mspencer
Date: Sat Mar 10 18:51:01 2012
New Revision: 152522
URL: http://llvm.org/viewvc/llvm-project?rev=152522&view=rev
Log:
Fix warnings.
Modified:
llvm/trunk/unittests/ADT/StringRefTest.cpp
Modified: llvm/trunk/unittests/ADT/StringRefTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/StringRefTest.cpp?rev=152522&r1=152521&r2=152522&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/StringRefTest.cpp (original)
+++ llvm/trunk/unittests/ADT/StringRefTest.cpp Sat Mar 10 18:51:01 2012
@@ -319,8 +319,8 @@
, {"256", 256}
, {"65535", 65535}
, {"65536", 65536}
- , {"4294967295", 4294967295}
- , {"4294967296", 4294967296}
+ , {"4294967295", 4294967295ULL}
+ , {"4294967296", 4294967296ULL}
, {"18446744073709551615", 18446744073709551615ULL}
, {"042", 34}
, {"0x42", 66}
@@ -341,8 +341,8 @@
, {"32768", 32768}
, {"-32768", -32768}
, {"-32769", -32769}
- , {"2147483647", 2147483647}
- , {"2147483648", 2147483648}
+ , {"2147483647", 2147483647LL}
+ , {"2147483648", 2147483648LL}
, {"-2147483648", -2147483648LL}
, {"-2147483649", -2147483649LL}
, {"-9223372036854775808", -(9223372036854775807LL) - 1}
More information about the llvm-commits
mailing list