Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/sys/socket.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/sys/socket.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.105 retrieving revision 1.106 diff -u -p -r1.105 -r1.106 --- src/sys/sys/socket.h 2012/01/25 00:28:35 1.105 +++ src/sys/sys/socket.h 2012/01/29 18:33:07 1.106 @@ -1,4 +1,4 @@ -/* $NetBSD: socket.h,v 1.105 2012/01/25 00:28:35 christos Exp $ */ +/* $NetBSD: socket.h,v 1.106 2012/01/29 18:33:07 roy Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -544,7 +544,7 @@ struct cmsghdr { __CMSG_ALIGN(sizeof(struct cmsghdr)) > \ (((char *)(mhdr)->msg_control) + (mhdr)->msg_controllen)) ? \ (struct cmsghdr *)0 : \ - (struct cmsghdr *)((char *)(cmsg) + \ + (struct cmsghdr *)(void *)((char *)(cmsg) + \ __CMSG_ALIGN((cmsg)->cmsg_len))) /*