summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/tests/unit
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-01-30 01:02:12 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-01-30 01:02:12 +0000
commit8b3334d9092b11ba54e4f4d075740ae3234330d8 (patch)
tree3142000b084c046739577c7063e5a3503b812716 /compiler-rt/lib/tsan/tests/unit
parent35cad9d2c2ce982a81dc3a94d9f8e7b4260b5c78 (diff)
downloadbcm5719-llvm-8b3334d9092b11ba54e4f4d075740ae3234330d8.tar.gz
bcm5719-llvm-8b3334d9092b11ba54e4f4d075740ae3234330d8.zip
[TSan] Fix -Werror=sign-compare warning. NFC.
llvm-svn: 227527
Diffstat (limited to 'compiler-rt/lib/tsan/tests/unit')
-rw-r--r--compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cc b/compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cc
index a1fd2b7f6e9..92071827d3d 100644
--- a/compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cc
+++ b/compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cc
@@ -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.
OpenPOWER on IntegriCloud