From: Francis Dupont Date: Fri, 29 Feb 2008 23:57:56 +0000 (+0000) Subject: fix sunos compile X-Git-Tag: v4_1_0a2~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27905a7d5e66dacacdde08b9989d270d59acfd75;p=thirdparty%2Fdhcp.git fix sunos compile --- diff --git a/common/dlpi.c b/common/dlpi.c index 260be73b2..6726e1036 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));