Silence compiler warnings about implicit cast from pointer to integer

* util.c (do_ptrace): Cast ptrace() 4th arg to long.
(ptrace_restart): Drop void* cast on ptrace() 4th arg.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
diff --git a/util.c b/util.c
index c767065..c96eb0a 100644
--- a/util.c
+++ b/util.c
@@ -257,7 +257,7 @@
 	long l;
 
 	errno = 0;
-	l = ptrace(request, tcp->pid, addr, data);
+	l = ptrace(request, tcp->pid, addr, (long) data);
 	/* Non-ESRCH errors might be our invalid reg/mem accesses,
 	 * we do not record them. */
 	if (errno == ESRCH)
@@ -279,7 +279,7 @@
 	const char *msg;
 
 	errno = 0;
-	ptrace(op, tcp->pid, (void *) 1, (void *) (long) sig);
+	ptrace(op, tcp->pid, (void *) 1, (long) sig);
 	err = errno;
 	if (!err || err == ESRCH)
 		return 0;