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:
Francois-Xavier Le Bail 2016-08-10 15:41:20 +02:00
parent ad0fc6bb89
commit ad1b99d59a

View File

@ -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;