summaryrefslogtreecommitdiff
path: root/print-ip-demux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-04-17 19:53:00 -0700
committerGuy Harris <guy@alum.mit.edu>2019-04-17 19:53:00 -0700
commitbef667db65b15c89ec6f1cf325b76acd3c0b8748 (patch)
tree9c91253177a3c09d95d73cb5696ccea78c65504a /print-ip-demux.c
parent845d1aad10d87ada487322ae1df4cad6b71e2d86 (diff)
downloadtcpdump-bef667db65b15c89ec6f1cf325b76acd3c0b8748.tar.gz
Clean up types to squelch narrowing warnings.
Diffstat (limited to 'print-ip-demux.c')
-rw-r--r--print-ip-demux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-ip-demux.c b/print-ip-demux.c
index 2dae30d2..4cab6acc 100644
--- a/print-ip-demux.c
+++ b/print-ip-demux.c
@@ -39,8 +39,8 @@
void
ip_print_demux(netdissect_options *ndo,
const u_char *bp,
- u_int length, u_int ver, int fragmented, u_int ttl_hl, u_int nh,
- const u_char *iph)
+ u_int length, u_int ver, int fragmented, u_int ttl_hl,
+ uint8_t nh, const u_char *iph)
{
int advance;
const char *p_name;