From: Roy Marples Date: Mon, 21 Apr 2008 09:31:34 +0000 (+0000) Subject: Fix a compile warning. X-Git-Tag: v4.0.2~466 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4ec3a502e11e4e94c914f5b4e36fbcf2f954a18;p=thirdparty%2Fdhcpcd.git Fix a compile warning. --- diff --git a/dhcp.c b/dhcp.c index 820f3dd5..a20368f4 100644 --- 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) {