diff options
author | Guy Harris <gharris@sonic.net> | 2021-01-01 21:08:32 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-01-01 21:08:32 -0800 |
commit | 399c5ebdd0432e413ab146bd65ae01f565db1edc (patch) | |
tree | 753ca646ceb225f7a3df1e37b3df57a21e8c47fb /netdissect.h | |
parent | d1be880176880ff8cc20ee8647e93057ec835416 (diff) | |
download | tcpdump-399c5ebdd0432e413ab146bd65ae01f565db1edc.tar.gz |
Squelch some signed vs. unsigned warnings.
They showed up on 64-bit OpenBSD 6.6.
Diffstat (limited to 'netdissect.h')
-rw-r--r-- | netdissect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdissect.h b/netdissect.h index 8595287e..1f8efc80 100644 --- a/netdissect.h +++ b/netdissect.h @@ -99,7 +99,7 @@ typedef unsigned char nd_ipv6[16]; /* * Use this for MAC addresses. */ -#define MAC_ADDR_LEN 6 /* length of MAC addresses */ +#define MAC_ADDR_LEN 6U /* length of MAC addresses */ typedef unsigned char nd_mac_addr[MAC_ADDR_LEN]; /* |