The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=6bca82843e5605fc242211093b56d1129eb4307c
commit 6bca82843e5605fc242211093b56d1129eb4307c Author: Michael Tuexen <tue...@freebsd.org> AuthorDate: 2025-08-12 17:45:54 +0000 Commit: Michael Tuexen <tue...@freebsd.org> CommitDate: 2025-08-12 17:45:54 +0000 netstat: remove unneeded cast delivered is already an uint64_t, so no need to cast it to that type. MFC after: 1 week Sponsored by: Netflix, Inc. --- usr.bin/netstat/inet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 6724c1099a83..3c4d6d4b62f9 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -951,7 +951,7 @@ udp_stats(u_long off, const char *name, int af1 __unused, int proto __unused) udpstat.udps_fullsock; if (delivered || sflag <= 1) xo_emit("\t{:delivered-packets/%ju} {N:/delivered}\n", - (uint64_t)delivered); + delivered); p(udps_opackets, "{:output-packets/%ju} {N:/datagram%s output}\n"); /* the next statistic is cumulative in udps_noportbcast */ p(udps_filtermcast, "{:multicast-source-filter-matches/%ju} "