2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

pullup silence compiler fixes

ifconfig.sh for Solaris 9
README updates
This commit is contained in:
Mark Andrews
2004-03-18 02:58:08 +00:00
parent ca9a8f6d0b
commit 1676408640
71 changed files with 314 additions and 261 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.236 2004/03/05 05:11:46 marka Exp $ */
/* $Id: socket.c,v 1.237 2004/03/18 02:58:07 marka Exp $ */
#include <config.h>
@@ -488,7 +488,7 @@ cmsg_space(ISC_SOCKADDR_LEN_T len) {
cmsgp = CMSG_NXTHDR(&msg, cmsgp);
if (cmsgp != NULL)
return ((void *)cmsgp - (void *)msg.msg_control);
return ((char *)cmsgp - (char *)msg.msg_control);
else
return (0);
#endif
@@ -535,7 +535,7 @@ process_cmsg(isc_socket_t *sock, struct msghdr *msg, isc_socketevent_t *dev) {
#ifndef USE_CMSG
return;
#else
if (msg->msg_controllen == 0 || msg->msg_control == NULL)
if (msg->msg_controllen == 0U || msg->msg_control == NULL)
return;
#ifdef SO_TIMESTAMP