From d1ed036fc53df6c0f4254ffc4d66f9c2c8498b45 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Tue, 26 Apr 2011 10:23:54 +0000 Subject: [PATCH] Fix a type mismatch that gcc-4.6 warns about. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11709 --- drd/tests/tsan_unittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drd/tests/tsan_unittest.cpp b/drd/tests/tsan_unittest.cpp index 431a62280c..1ff34b72cc 100644 --- a/drd/tests/tsan_unittest.cpp +++ b/drd/tests/tsan_unittest.cpp @@ -7142,7 +7142,7 @@ BlockingCounter *blocking_counter; int GLOB = 0; // Worker(N) will do 2^N increments of GLOB, each increment in a separate thread -void Worker(int depth) { +void Worker(long depth) { CHECK(depth >= 0); if (depth > 0) { ThreadPool pool(2); -- 2.47.2