Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net remove an unnecessary cast
details: https://anonhg.NetBSD.org/src/rev/6104b83ba555
branches: trunk
changeset: 770733:6104b83ba555
user: yamt <yamt%NetBSD.org@localhost>
date: Mon Oct 31 12:50:50 2011 +0000
description:
remove an unnecessary cast
diffstat:
sys/net/rtsock.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2052d1d5f54b -r 6104b83ba555 sys/net/rtsock.c
--- a/sys/net/rtsock.c Mon Oct 31 12:49:32 2011 +0000
+++ b/sys/net/rtsock.c Mon Oct 31 12:50:50 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtsock.c,v 1.136 2011/07/17 20:54:52 joerg Exp $ */
+/* $NetBSD: rtsock.c,v 1.137 2011/10/31 12:50:50 yamt Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.136 2011/07/17 20:54:52 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.137 2011/10/31 12:50:50 yamt Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -350,7 +350,7 @@
info.rti_info[RTAX_DST] = rt_getkey(rt);
info.rti_info[RTAX_GATEWAY] = rt->rt_gateway;
info.rti_info[RTAX_NETMASK] = rt_mask(rt);
- info.rti_info[RTAX_TAG] = (struct sockaddr*)rt_gettag(rt);
+ info.rti_info[RTAX_TAG] = rt_gettag(rt);
if ((rtm->rtm_addrs & (RTA_IFP | RTA_IFA)) == 0)
;
else if ((ifp = rt->rt_ifp) != NULL) {
Home |
Main Index |
Thread Index |
Old Index