Change last parameter of umoven() from char* to void*
Saves tons of casts.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
diff --git a/sysctl.c b/sysctl.c
index 70cc5d9..a550eda 100644
--- a/sysctl.c
+++ b/sysctl.c
@@ -27,7 +27,7 @@
size = sizeof(int) * (unsigned long) info.nlen;
name = (size / sizeof(int) != (unsigned long) info.nlen) ? NULL : malloc(size);
if (name == NULL ||
- umoven(tcp, (unsigned long) info.name, size, (char *) name) < 0) {
+ umoven(tcp, (unsigned long) info.name, size, name) < 0) {
free(name);
if (entering(tcp))
tprintf("{%p, %d, %p, %p, %p, %lu}",