use const cast.
This commit is contained in:
parent
3ebd13b60c
commit
67f72d9fc5
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: elinkxl.c,v 1.81 2005/05/30 04:43:46 christos Exp $ */
|
||||
/* $NetBSD: elinkxl.c,v 1.82 2005/05/31 01:43:36 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: elinkxl.c,v 1.81 2005/05/30 04:43:46 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: elinkxl.c,v 1.82 2005/05/31 01:43:36 christos Exp $");
|
||||
|
||||
#include "bpfilter.h"
|
||||
#include "rnd.h"
|
||||
|
@ -636,7 +636,7 @@ ex_init(ifp)
|
|||
GO_WINDOW(2);
|
||||
for (i = 0; i < ETHER_ADDR_LEN; i++) {
|
||||
bus_space_write_1(iot, ioh, ELINK_W2_ADDR_0 + i,
|
||||
LLADDR(ifp->if_sadl)[i]);
|
||||
((const char *)CLLADDR(ifp->if_sadl))[i]);
|
||||
bus_space_write_1(iot, ioh, ELINK_W2_RECVMASK_0 + i, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue