[compiler-rt] r227527 - [TSan] Fix -Werror=sign-compare warning. NFC.
Alexey Samsonov
vonosmas at gmail.com
Thu Jan 29 17:02:13 PST 2015
Author: samsonov
Date: Thu Jan 29 19:02:12 2015
New Revision: 227527
URL: http://llvm.org/viewvc/llvm-project?rev=227527&view=rev
Log:
[TSan] Fix -Werror=sign-compare warning. NFC.
Modified:
compiler-rt/trunk/lib/tsan/tests/unit/tsan_clock_test.cc
Modified: compiler-rt/trunk/lib/tsan/tests/unit/tsan_clock_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/tests/unit/tsan_clock_test.cc?rev=227527&r1=227526&r2=227527&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/tests/unit/tsan_clock_test.cc (original)
+++ compiler-rt/trunk/lib/tsan/tests/unit/tsan_clock_test.cc Thu Jan 29 19:02:12 2015
@@ -211,8 +211,8 @@ TEST(Clock, Growth) {
}
}
-const int kThreads = 4;
-const int kClocks = 4;
+const uptr kThreads = 4;
+const uptr kClocks = 4;
// SimpleSyncClock and SimpleThreadClock implement the same thing as
// SyncClock and ThreadClock, but in a very simple way.
More information about the llvm-commits
mailing list