Zephyr: Update 'length' type to unsigned

It is unsigned in the calling function udp_print().
This commit is contained in:
Francois-Xavier Le Bail 2021-05-22 09:41:31 +02:00
parent ad090fd01a
commit 29973d83e8
2 changed files with 2 additions and 2 deletions

View File

@ -731,7 +731,7 @@ extern void vxlan_gpe_print(netdissect_options *, const u_char *, u_int);
extern void vxlan_print(netdissect_options *, const u_char *, u_int);
extern void wb_print(netdissect_options *, const u_char *, u_int);
extern void zep_print(netdissect_options *, const u_char *, u_int);
extern void zephyr_print(netdissect_options *, const u_char *, int);
extern void zephyr_print(netdissect_options *, const u_char *, u_int);
extern void zmtp1_print(netdissect_options *, const u_char *, u_int);
extern void zmtp1_datagram_print(netdissect_options *, const u_char *, const u_int);
extern void someip_print(netdissect_options *, const u_char *, const u_int);

View File

@ -140,7 +140,7 @@ str_to_lower(const char *string)
}
void
zephyr_print(netdissect_options *ndo, const u_char *cp, int length)
zephyr_print(netdissect_options *ndo, const u_char *cp, u_int length)
{
struct z_packet z = {
NULL, /* version */