]> The Tcpdump Group git mirrors - tcpdump/commit
Squelch some narrowing warnings.
authorGuy Harris <[email protected]>
Tue, 11 Dec 2018 07:44:50 +0000 (23:44 -0800)
committerGuy Harris <[email protected]>
Tue, 11 Dec 2018 07:44:50 +0000 (23:44 -0800)
commitd8bf24c8743edcd257e2e76b1ed15a2b49208051
tree586b00edd756b3640c648cf99a2445e45b4bfb60
parent0259ae79db541a18749616ef66adf1378ed40046
Squelch some narrowing warnings.

Mostly, we just throw in casts of values already known to be in the
range of values supported by the lvalue's type to that type.

Also, for the IPX SAP table, we make the SAP value a uint16_t, as SAP
values are 16-bit.

Make a hash table index unsigned, Just Because.
addrtoname.c