Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcp/dist/common more casts
details: https://anonhg.NetBSD.org/src/rev/0f73f12a6815
branches: trunk
changeset: 325345:0f73f12a6815
user: christos <christos%NetBSD.org@localhost>
date: Thu Dec 19 22:05:58 2013 +0000
description:
more casts
diffstat:
external/bsd/dhcp/dist/common/alloc.c | 6 +++---
external/bsd/dhcp/dist/common/discover.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r ed3764c3b6a6 -r 0f73f12a6815 external/bsd/dhcp/dist/common/alloc.c
--- a/external/bsd/dhcp/dist/common/alloc.c Thu Dec 19 19:40:59 2013 +0000
+++ b/external/bsd/dhcp/dist/common/alloc.c Thu Dec 19 22:05:58 2013 +0000
@@ -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 @@
cdr = car -> cdr;
if (car -> car)
option_cache_dereference ((struct option_cache **)
- (&car -> car), MDL);
+ (void *)(&car -> car), MDL);
dfree (car, MDL);
car = cdr;
}
diff -r ed3764c3b6a6 -r 0f73f12a6815 external/bsd/dhcp/dist/common/discover.c
--- a/external/bsd/dhcp/dist/common/discover.c Thu Dec 19 19:40:59 2013 +0000
+++ b/external/bsd/dhcp/dist/common/discover.c Thu Dec 19 22:05:58 2013 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index