From 8b3334d9092b11ba54e4f4d075740ae3234330d8 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Fri, 30 Jan 2015 01:02:12 +0000 Subject: [PATCH] [TSan] Fix -Werror=sign-compare warning. NFC. llvm-svn: 227527 --- compiler-rt/lib/tsan/tests/unit/tsan_clock_test.cc | 4 ++-- 1 file 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 a1fd2b7..9207182 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. -- 2.7.4