* include/cygwin/socket.h (CMSG_FIRSTHDR): Avoid compiler warning.
This commit is contained in:
parent
6da41754a4
commit
29b3c9cc3e
@ -1,3 +1,7 @@
|
||||
2006-02-06 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/cygwin/socket.h (CMSG_FIRSTHDR): Avoid compiler warning.
|
||||
|
||||
2006-02-05 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/features.h: Add comment to explain what's going to happen
|
||||
|
@ -85,7 +85,7 @@ struct cmsghdr
|
||||
#define CMSG_FIRSTHDR(mhdr) \
|
||||
({ \
|
||||
struct msghdr *_m = (struct msghdr *) mhdr; \
|
||||
(_m)->msg_controllen >= sizeof (struct cmsghdr) \
|
||||
(unsigned) (_m)->msg_controllen >= sizeof (struct cmsghdr) \
|
||||
? (struct cmsghdr *) (_m)->msg_control \
|
||||
: (struct cmsghdr *) NULL; \
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user