X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ee68aa36460d7efeca48747f33b7f2adc0900bfb..e7cfa5e63a27e6fbb75e0bbd151af2c7d0d222e9:/print-mobility.c diff --git a/print-mobility.c b/print-mobility.c index 4dbfb6ff..8272664b 100644 --- a/print-mobility.c +++ b/print-mobility.c @@ -227,7 +227,7 @@ mobility_print(netdissect_options *ndo, * returned length, however, as it breaks out of the * header-processing loop. */ - mhlen = ep - bp; + mhlen = (unsigned)(ep - bp); goto trunc; } mhlen = (GET_U_1(mh->ip6m_len) + 1) << 3;