Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys delint a macro



details:   https://anonhg.NetBSD.org/src/rev/17249a6ff240
branches:  trunk
changeset: 494284:17249a6ff240
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jul 05 02:47:23 2000 +0000

description:
delint a macro

diffstat:

 sys/sys/socket.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b972ecb8b6ad -r 17249a6ff240 sys/sys/socket.h
--- a/sys/sys/socket.h  Wed Jul 05 02:45:03 2000 +0000
+++ b/sys/sys/socket.h  Wed Jul 05 02:47:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: socket.h,v 1.56 2000/06/26 15:48:21 kleink Exp $       */
+/*     $NetBSD: socket.h,v 1.57 2000/07/05 02:47:23 christos Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -407,7 +407,7 @@
 
 /* given pointer to struct cmsghdr, return pointer to data */
 #define        CMSG_DATA(cmsg) \
-       ((u_char *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr)))
+       ((u_char *)(void *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr)))
 
 /*
  * Alignment requirement for CMSG struct manipulation.



Home | Main Index | Thread Index | Old Index