Change last parameter of umoven() from char* to void*
Saves tons of casts.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
diff --git a/defs.h b/defs.h
index 14e4653..4f6bbd9 100644
--- a/defs.h
+++ b/defs.h
@@ -419,9 +419,9 @@
extern void get_regs(pid_t pid);
extern int get_scno(struct tcb *tcp);
-extern int umoven(struct tcb *, long, unsigned int, char *);
+extern int umoven(struct tcb *, long, unsigned int, void *);
#define umove(pid, addr, objp) \
- umoven((pid), (addr), sizeof(*(objp)), (char *) (objp))
+ umoven((pid), (addr), sizeof(*(objp)), (void *) (objp))
extern int umovestr(struct tcb *, long, unsigned int, char *);
extern int upeek(int pid, long, long *);
#if defined(SPARC) || defined(SPARC64) || defined(IA64) || defined(SH)