]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Make another never-negative variable an unsigned.
authorGuy Harris <[email protected]>
Tue, 20 Sep 2016 09:02:06 +0000 (02:02 -0700)
committerGuy Harris <[email protected]>
Tue, 20 Sep 2016 09:02:06 +0000 (02:02 -0700)
It's assigned a u_int value, and printed with %u, so make it a u_int.

print-fr.c

index da1e18533916ed262d4312f65f31f16436b05099..eb01983c6bb8841780aca4fdd29c4a12bfda4c46 100644 (file)
@@ -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;