diff options
-rw-r--r-- | main/udptl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/udptl.c b/main/udptl.c index 0e88b2b4a..113a183c0 100644 --- a/main/udptl.c +++ b/main/udptl.c @@ -226,8 +226,8 @@ static int decode_open_type(uint8_t *buf, unsigned int limit, unsigned int *len, { unsigned int octet_cnt; unsigned int octet_idx; - unsigned int length; unsigned int i; + int length; /* a negative length indicates the limit has been reached in decode_length. */ const uint8_t **pbuf; for (octet_idx = 0, *p_num_octets = 0; ; octet_idx += octet_cnt) { |