Module Name:    src
Committed By:   christos
Date:           Thu Dec 19 22:05:58 UTC 2013

Modified Files:
        src/external/bsd/dhcp/dist/common: alloc.c discover.c

Log Message:
more casts


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/dhcp/dist/common/alloc.c
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/dhcp/dist/common/discover.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcp/dist/common/alloc.c
diff -u src/external/bsd/dhcp/dist/common/alloc.c:1.1.1.2 src/external/bsd/dhcp/dist/common/alloc.c:1.2
--- src/external/bsd/dhcp/dist/common/alloc.c:1.1.1.2	Sun Mar 24 18:50:29 2013
+++ src/external/bsd/dhcp/dist/common/alloc.c	Thu Dec 19 17:05:58 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: alloc.c,v 1.1.1.2 2013/03/24 22:50:29 christos Exp $	*/
+/*	$NetBSD: alloc.c,v 1.2 2013/12/19 22:05:58 christos Exp $	*/
 
 /* alloc.c
 
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: alloc.c,v 1.1.1.2 2013/03/24 22:50:29 christos Exp $");
+__RCSID("$NetBSD: alloc.c,v 1.2 2013/12/19 22:05:58 christos Exp $");
 
 #include "dhcpd.h"
 #include <omapip/omapip_p.h>
@@ -146,7 +146,7 @@ int option_chain_head_dereference (ptr, 
 		cdr = car -> cdr;
 		if (car -> car)
 			option_cache_dereference ((struct option_cache **)
-						  (&car -> car), MDL);
+						  (void *)(&car -> car), MDL);
 		dfree (car, MDL);
 		car = cdr;
 	}

Index: src/external/bsd/dhcp/dist/common/discover.c
diff -u src/external/bsd/dhcp/dist/common/discover.c:1.2 src/external/bsd/dhcp/dist/common/discover.c:1.3
--- src/external/bsd/dhcp/dist/common/discover.c:1.2	Sun Mar 24 11:53:58 2013
+++ src/external/bsd/dhcp/dist/common/discover.c	Thu Dec 19 17:05:58 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: discover.c,v 1.2 2013/03/24 15:53:58 christos Exp $	*/
+/*	$NetBSD: discover.c,v 1.3 2013/12/19 22:05:58 christos Exp $	*/
 
 /* discover.c
 
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: discover.c,v 1.2 2013/03/24 15:53:58 christos Exp $");
+__RCSID("$NetBSD: discover.c,v 1.3 2013/12/19 22:05:58 christos Exp $");
 
 #include "dhcpd.h"
 
@@ -1580,7 +1580,7 @@ isc_result_t dhcp_interface_destroy (oma
 		interface -> client = (struct client_state *)0;
 
 	if (interface -> shared_network)
-		omapi_object_dereference ((omapi_object_t **)
+		omapi_object_dereference ((void *)
 					  &interface -> shared_network, MDL);
 
 	return ISC_R_SUCCESS;

Reply via email to