diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-04-17 19:53:00 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-04-17 19:53:00 -0700 |
commit | bef667db65b15c89ec6f1cf325b76acd3c0b8748 (patch) | |
tree | 9c91253177a3c09d95d73cb5696ccea78c65504a /print-lldp.c | |
parent | 845d1aad10d87ada487322ae1df4cad6b71e2d86 (diff) | |
download | tcpdump-bef667db65b15c89ec6f1cf325b76acd3c0b8748.tar.gz |
Clean up types to squelch narrowing warnings.
Diffstat (limited to 'print-lldp.c')
-rw-r--r-- | print-lldp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/print-lldp.c b/print-lldp.c index 054a9617..a16e0841 100644 --- a/print-lldp.c +++ b/print-lldp.c @@ -1166,7 +1166,8 @@ lldp_private_dcbx_print(netdissect_options *ndo, uint8_t tval; uint16_t tlv; uint32_t i, pgval, uval; - u_int tlen, tlv_type, tlv_len; + u_int tlen, tlv_type; + uint16_t tlv_len; const u_char *tptr, *mptr; if (len < 4) { |