diff options
Diffstat (limited to 'device')
-rw-r--r-- | device/net_io.c | 4 | ||||
-rw-r--r-- | device/subrs.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/device/net_io.c b/device/net_io.c index dca99d7..a6f842e 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -1371,10 +1371,10 @@ net_set_filter(ifp, rcv_port, priority, filter, filter_count) /* Not checking for the same key values */ if (*p == 0) { - queue_init ((queue_t) hash_entp); + queue_init (&hash_entp->chain); *p = hash_entp; } else { - enqueue_tail((queue_t)*p, hash_entp); + enqueue_tail(&(*p)->chain, &hash_entp->chain); } ((net_hash_header_t)my_infp)->ref_count++; diff --git a/device/subrs.c b/device/subrs.c index 9b2b9ad..c2fe7ec 100644 --- a/device/subrs.c +++ b/device/subrs.c @@ -63,7 +63,7 @@ char * ether_sprintf(ap) register u_char *ap; { - register i; + register int i; static char etherbuf[18]; register char *cp = etherbuf; static char digits[] = "0123456789abcdef"; |