freebsd-src/sbin/ifconfig
John Baldwin f19ae3633b ifconfig: Pacify a sign comparison warning in regdomain_sort.
Both ic_flags values are unsigned (uint32_t), so cast them to a signed
int to generate a signed result.  Both ic_req values are also
unsigned, but since they are uint16_t, they are implicitly promited to
int before the subtraction.

Reported by:	GCC -Wsign-compare
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D40610
2023-06-19 10:38:18 -07:00
..
tests
af_inet.c ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
af_inet6.c ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
af_link.c ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
af_nd6.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
carp.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifbridge.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifclone.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifconfig.8 ifconfig(8): add the dotted format for MAC addresses. 2023-06-13 06:40:15 +00:00
ifconfig.c ifconfig: Avoid issues with trying to negate unsigned values. 2023-06-19 10:37:52 -07:00
ifconfig.h ifconfig: Avoid issues with trying to negate unsigned values. 2023-06-19 10:37:52 -07:00
ifconfig_netlink.c netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
ifconfig_netlink.h ifconfig: make interface and address listing use Netlink as transport 2023-05-16 19:39:13 +00:00
iffib.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifgif.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifgre.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifgroup.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifieee80211.c ifconfig: Pacify a sign comparison warning in regdomain_sort. 2023-06-19 10:38:18 -07:00
ifipsec.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
iflagg.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifmac.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifmedia.c ifconfig: remove global 'ifr' usage from ifmedia.c & remove 'ifr'. 2023-06-16 07:19:21 +00:00
ifpfsync.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifstf.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifvlan.c ifconfig: Avoid issues with trying to negate unsigned values. 2023-06-19 10:37:52 -07:00
ifvxlan.c ifconfig: Avoid issues with trying to negate unsigned values. 2023-06-19 10:37:52 -07:00
Makefile ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile.depend.options
sfp.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00