Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-02-06 13:01:37 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-02-06 13:01:37 +0300
commit29b3c9cc3e96a83f2b47819e9dfa339fb51af2c4 (patch)
treee567d4d1578817918c7f56899d93b546bfed85f4 /winsup/cygwin/include
parent6da41754a4be63e4e4c5f15d52ddec733913a6ad (diff)
* include/cygwin/socket.h (CMSG_FIRSTHDR): Avoid compiler warning.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/socket.h b/winsup/cygwin/include/cygwin/socket.h
index c977d08be..a3c55ae2e 100644
--- a/winsup/cygwin/include/cygwin/socket.h
+++ b/winsup/cygwin/include/cygwin/socket.h
@@ -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; \
})