|
From: <sv...@va...> - 2011-04-26 10:24:01
|
Author: sewardj
Date: 2011-04-26 11:23:54 +0100 (Tue, 26 Apr 2011)
New Revision: 11709
Log:
Fix a type mismatch that gcc-4.6 warns about.
Modified:
trunk/drd/tests/tsan_unittest.cpp
Modified: trunk/drd/tests/tsan_unittest.cpp
===================================================================
--- trunk/drd/tests/tsan_unittest.cpp 2011-04-26 10:23:33 UTC (rev 11708)
+++ trunk/drd/tests/tsan_unittest.cpp 2011-04-26 10:23:54 UTC (rev 11709)
@@ -7142,7 +7142,7 @@
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);
|