64-bit cleanness: convert client requests to receive and return UWords.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2921 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/mac_needs.c b/memcheck/mac_needs.c
index e6231a0..e1ef58a 100644
--- a/memcheck/mac_needs.c
+++ b/memcheck/mac_needs.c
@@ -843,7 +843,7 @@
/*--- Common client request handling ---*/
/*------------------------------------------------------------*/
-Bool MAC_(handle_common_client_requests)(ThreadId tid, UInt* arg, UInt* ret )
+Bool MAC_(handle_common_client_requests)(ThreadId tid, UWord* arg, UWord* ret )
{
Char* err =
"The client requests VALGRIND_MALLOCLIKE_BLOCK and\n"
@@ -859,7 +859,7 @@
switch (arg[0]) {
case VG_USERREQ__COUNT_LEAKS: { /* count leaked bytes */
- UInt** argp = (UInt**)arg;
+ UWord** argp = (UWord**)arg;
// MAC_(bytes_leaked) et al were set by the last leak check (or zero
// if no prior leak checks performed).
*argp[1] = MAC_(bytes_leaked);