Fix warnings for Linux, FreeBSD and Solaris.

diff --git a/server/request.c b/server/request.c
index f563aa5..623520d 100644
--- a/server/request.c
+++ b/server/request.c
@@ -203,7 +203,7 @@
     {
         struct iovec vec[2];
 
-        vec[0].iov_base = reply;
+        vec[0].iov_base = (void *)reply;
         vec[0].iov_len  = sizeof(*reply);
         vec[1].iov_base = current->reply_data;
         vec[1].iov_len  = current->reply_size;
@@ -321,7 +321,7 @@
     cmsg.fd = -1;
 #endif  /* HAVE_MSGHDR_ACCRIGHTS */
 
-    myiovec.iov_base = &data;
+    myiovec.iov_base = (void *)&data;
     myiovec.iov_len  = sizeof(data);
 
     ret = recvmsg( process->obj.fd, &msghdr, 0 );