]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix a compile warning.
authorRoy Marples <roy@marples.name>
Mon, 21 Apr 2008 09:31:34 +0000 (09:31 +0000)
committerRoy Marples <roy@marples.name>
Mon, 21 Apr 2008 09:31:34 +0000 (09:31 +0000)
dhcp.c

diff --git a/dhcp.c b/dhcp.c
index 820f3dd50c070b685b4e46da63976dcae1fee7d1..a20368f442155bee54b8f9ae48467023ac56c0a1 100644 (file)
--- a/dhcp.c
+++ b/dhcp.c
@@ -347,7 +347,7 @@ decode_rfc3397(char *out, ssize_t len, const uint8_t *p)
 {
        uint8_t ln = *p++;
        const uint8_t *r, *q = p;
-       unsigned int count = 0, l, hops;
+       int count = 0, l, hops;
        uint8_t ltype;
 
        while (q - p < ln) {