summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2008-02-29 23:57:56 +0000
committerFrancis Dupont <fdupont@isc.org>2008-02-29 23:57:56 +0000
commit27905a7d5e66dacacdde08b9989d270d59acfd75 (patch)
tree34888058c9c2721dd4079e545b2ac8bf06fe0c44 /common
parentf8cbf390afa873386bc85ba4c99ff1fd2c115d1e (diff)
downloadisc-dhcp-27905a7d5e66dacacdde08b9989d270d59acfd75.tar.gz
fix sunos compile
Diffstat (limited to 'common')
-rw-r--r--common/dlpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/dlpi.c b/common/dlpi.c
index 260be73b..6726e103 100644
--- a/common/dlpi.c
+++ b/common/dlpi.c
@@ -628,7 +628,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
int length = 0;
int offset = 0;
int bufix = 0;
- int paylen;
+ unsigned paylen;
#ifdef USE_DLPI_RAW
length = read (interface -> rfdesc, dbuf, sizeof (dbuf));