]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a type mismatch that gcc-4.6 warns about.
authorJulian Seward <jseward@acm.org>
Tue, 26 Apr 2011 10:23:54 +0000 (10:23 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 26 Apr 2011 10:23:54 +0000 (10:23 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11709

drd/tests/tsan_unittest.cpp

index 431a62280c4edb08fa1f33508de7849dcd909836..1ff34b72cc26dcee2ca452e8cc7fe91d420093b4 100644 (file)
@@ -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);