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-decnet.c | |
parent | 845d1aad10d87ada487322ae1df4cad6b71e2d86 (diff) | |
download | tcpdump-bef667db65b15c89ec6f1cf325b76acd3c0b8748.tar.gz |
Clean up types to squelch narrowing warnings.
Diffstat (limited to 'print-decnet.c')
-rw-r--r-- | print-decnet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/print-decnet.c b/print-decnet.c index fcb85225..2a19fd1c 100644 --- a/print-decnet.c +++ b/print-decnet.c @@ -502,7 +502,8 @@ decnet_print(netdissect_options *ndo, { const union routehdr *rhp; u_int mflags; - u_int dst, src, hops; + uint16_t dst, src; + u_int hops; u_int nsplen, pktlen; const u_char *nspp; |