mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
HNCP: Fix a warning on Solaris
The warning was: "./print-hncp.c", line 367: warning: initializer will be sign-extended: -1
This commit is contained in:
parent
ad0fc6bb89
commit
ad1b99d59a
@ -364,7 +364,7 @@ hncp_print_rec(netdissect_options *ndo,
|
||||
|
||||
u_int i, t;
|
||||
|
||||
uint32_t last_type_mask = -1;
|
||||
uint32_t last_type_mask = 0xffffffffU;
|
||||
int last_type_count = -1;
|
||||
|
||||
const u_char *tlv, *value;
|
||||
|
Loading…
Reference in New Issue
Block a user