diff options
Diffstat (limited to 'drivers/ns8382x.c')
-rw-r--r-- | drivers/ns8382x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ns8382x.c b/drivers/ns8382x.c index be99c3b..976f86a 100644 --- a/drivers/ns8382x.c +++ b/drivers/ns8382x.c @@ -363,7 +363,7 @@ ns8382x_initialize(bd_t * bis) /* get MAC address */ for (i = 0; i < 3; i++) { u32 data; - char *mac = &dev->enetaddr[i * 2]; + char *mac = (char *)&dev->enetaddr[i * 2]; OUTL(dev, i * 2, RxFilterAddr); data = INL(dev, RxFilterData); |