Changed meaning of the second argument of the start/stop suppression client requests from "end address" to "size in bytes".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7806 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/drd_pthread_intercepts.c b/exp-drd/drd_pthread_intercepts.c
index c363a2f..a69eada 100644
--- a/exp-drd/drd_pthread_intercepts.c
+++ b/exp-drd/drd_pthread_intercepts.c
@@ -125,7 +125,7 @@
{
int res;
VALGRIND_DO_CLIENT_REQUEST(res, 0, VG_USERREQ__DRD_START_SUPPRESSION,
- p, (char*)p + size, 0, 0, 0);
+ p, size, 0, 0, 0);
}
static void vg_set_joinable(const pthread_t tid, const int joinable)