Fix some format string mismatch warnings, associated with r8825.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8829 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/drd/drd_semaphore.c b/drd/drd_semaphore.c
index 1125c1b..8f585d8 100644
--- a/drd/drd_semaphore.c
+++ b/drd/drd_semaphore.c
@@ -117,7 +117,7 @@
   if (s_trace_semaphore)
   {
     VG_(message)(Vg_UserMsg,
-                 "[%d/%d] semaphore_init      0x%lx value %d",
+                 "[%d/%d] semaphore_init      0x%lx value %ld",
                  VG_(get_running_tid)(),
                  thread_get_running_tid(),
                  semaphore,
@@ -153,7 +153,7 @@
   if (s_trace_semaphore)
   {
     VG_(message)(Vg_UserMsg,
-                 "[%d/%d] semaphore_destroy   0x%lx value %d",
+                 "[%d/%d] semaphore_destroy   0x%lx value %ld",
                  VG_(get_running_tid)(),
                  thread_get_running_tid(),
                  semaphore,
@@ -183,7 +183,7 @@
   if (s_trace_semaphore)
   {
     VG_(message)(Vg_UserMsg,
-                 "[%d/%d] semaphore_pre_wait  0x%lx value %d",
+                 "[%d/%d] semaphore_pre_wait  0x%lx value %ld",
                  VG_(get_running_tid)(),
                  thread_get_running_tid(),
                  semaphore,
@@ -208,7 +208,7 @@
   if (s_trace_semaphore)
   {
     VG_(message)(Vg_UserMsg,
-                 "[%d/%d] semaphore_post_wait 0x%lx value %d",
+                 "[%d/%d] semaphore_post_wait 0x%lx value %ld",
                  VG_(get_running_tid)(),
                  thread_get_running_tid(),
                  semaphore,
@@ -251,7 +251,7 @@
   if (s_trace_semaphore)
   {
     VG_(message)(Vg_UserMsg,
-                 "[%d/%d] semaphore_post      0x%lx value %d",
+                 "[%d/%d] semaphore_post      0x%lx value %ld",
                  VG_(get_running_tid)(),
                  thread_get_running_tid(),
                  semaphore,