]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
fix sunos compile
authorFrancis Dupont <fdupont@isc.org>
Fri, 29 Feb 2008 23:57:56 +0000 (23:57 +0000)
committerFrancis Dupont <fdupont@isc.org>
Fri, 29 Feb 2008 23:57:56 +0000 (23:57 +0000)
common/dlpi.c

index 260be73b23803ea1790cf7dfdfb305de6523ec0b..6726e1036d62d0ba134651ee78f4d8a9070286b9 100644 (file)
@@ -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));