[TSan] Fix -Werror=sign-compare warning. NFC.
authorAlexey Samsonov <vonosmas@gmail.com>
Fri, 30 Jan 2015 01:02:12 +0000 (01:02 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Fri, 30 Jan 2015 01:02:12 +0000 (01:02 +0000)
llvm-svn: 227527

compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cc

index a1fd2b7..9207182 100644 (file)
@@ -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.