From: Guy Harris Date: Tue, 20 Sep 2016 09:02:06 +0000 (-0700) Subject: Make another never-negative variable an unsigned. X-Git-Tag: tcpdump-4.9.0-bp~172 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/db62bcccac0a87802ae5786afebdebe7555d4f1e Make another never-negative variable an unsigned. It's assigned a u_int value, and printed with %u, so make it a u_int. --- diff --git a/print-fr.c b/print-fr.c index da1e1853..eb01983c 100644 --- a/print-fr.c +++ b/print-fr.c @@ -775,7 +775,7 @@ q933_print(netdissect_options *ndo, { const u_char *ptemp = p; const struct ie_tlv_header_t *ie_p; - int olen; + u_int olen; u_int is_ansi = 0; u_int codeset; u_int ie_is_known = 0;