From bab4c3bbff3f47a39fe55e952975d1047c4a7514 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 11 Apr 2008 03:27:53 +0000 Subject: [PATCH] Changed the type of msghdr::{msg_name,msg_control} to void* as dictated by POSIX. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24902 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/sys/socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/posix/sys/socket.h b/headers/posix/sys/socket.h index 879ae2c2ef..e3815d87a1 100644 --- a/headers/posix/sys/socket.h +++ b/headers/posix/sys/socket.h @@ -94,11 +94,11 @@ struct sockaddr_storage { }; struct msghdr { - char *msg_name; /* address we're using (optional) */ + void *msg_name; /* address we're using (optional) */ socklen_t msg_namelen; /* length of address */ struct iovec *msg_iov; /* scatter/gather array we'll use */ int msg_iovlen; /* # elements in msg_iov */ - char *msg_control; /* extra data */ + void *msg_control; /* extra data */ socklen_t msg_controllen; /* length of extra data */ int msg_flags; /* flags */ };