Fix a compiler warning about an incompatible format.
Shows up on 32-bit builds only.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14848 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/drd/tests/local_static.cpp b/drd/tests/local_static.cpp
index 86c0fc1..e84a315 100644
--- a/drd/tests/local_static.cpp
+++ b/drd/tests/local_static.cpp
@@ -35,8 +35,8 @@
   for (std::vector<pthread_t>::iterator p = thread.begin(); p != thread.end();
        p++) {
     if (pthread_create(&*p, 0, thread_func, 0) != 0) {
-      fprintf(stderr, "Creation of thread %ld failed\n",
-              &*p - &*thread.begin());
+      fprintf(stderr, "Creation of thread %d failed\n",
+              (int)(&*p - &*thread.begin()));
       return 1;
     }
   }