From: Roy Marples Date: Mon, 31 Mar 2014 20:10:46 +0000 (+0000) Subject: More number differences X-Git-Tag: v6.4.0~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3ba5179b742d2c7b2e2065e13b3da72e033af68;p=thirdparty%2Fdhcpcd.git More number differences --- diff --git a/dhcp-common.c b/dhcp-common.c index a09984a1..bb27028b 100644 --- a/dhcp-common.c +++ b/dhcp-common.c @@ -194,11 +194,12 @@ ssize_t decode_rfc3397(char *out, size_t len, const uint8_t *p, size_t pl) { const char *start; - size_t start_len, l; + size_t start_len, l, count; const uint8_t *r, *q = p, *e; - int count = 0, hops; + int hops; uint8_t ltype; + count = 0; start = out; start_len = len; q = p; @@ -260,7 +261,7 @@ decode_rfc3397(char *out, size_t len, const uint8_t *p, size_t pl) *out = '\0'; } - return count; + return (ssize_t)count; } ssize_t