diff options
author | Ted Lemon <source@isc.org> | 1999-10-07 06:36:35 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1999-10-07 06:36:35 +0000 |
commit | b1b7b521fe85027146beeea652e9677b2f43f7ec (patch) | |
tree | 4ad373a9e7f1f3fb91a8c9fba1be4127003cf40e /common/ethernet.c | |
parent | 77a5f87162dd4b32ee082b87f741793432341cc8 (diff) | |
download | isc-dhcp-b1b7b521fe85027146beeea652e9677b2f43f7ec.tar.gz |
Get a clean compile with all known gcc warnings.
Diffstat (limited to 'common/ethernet.c')
-rw-r--r-- | common/ethernet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/ethernet.c b/common/ethernet.c index cfb73150..e7cbea2a 100644 --- a/common/ethernet.c +++ b/common/ethernet.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: ethernet.c,v 1.1 1999/05/27 17:34:54 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: ethernet.c,v 1.2 1999/10/07 06:35:42 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -38,7 +38,7 @@ static char copyright[] = void assemble_ethernet_header (interface, buf, bufix, to) struct interface_info *interface; unsigned char *buf; - int *bufix; + unsigned *bufix; struct hardware *to; { struct ether_header eh; @@ -70,7 +70,7 @@ void assemble_ethernet_header (interface, buf, bufix, to) ssize_t decode_ethernet_header (interface, buf, bufix, from) struct interface_info *interface; unsigned char *buf; - int bufix; + unsigned bufix; struct hardware *from; { struct ether_header eh; |