From nobody Thu Jun 20 13:34:54 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W4hLT64NCz5NnpG; Thu, 20 Jun 2024 13:34:57 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W4hLT40bTz4WG6; Thu, 20 Jun 2024 13:34:57 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTPS id KD0FswFx1drxEKHwGs4LD2; Thu, 20 Jun 2024 13:34:56 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id KHwEsphNbWhyfKHwFsFHwP; Thu, 20 Jun 2024 13:34:56 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=MenPuI/f c=1 sm=1 tr=0 ts=66743000 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=T1WGqf2p2xoA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=YSi0mlixrwkpaqcZTZsA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 5A90F9C7; Thu, 20 Jun 2024 06:34:54 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 24C13193; Thu, 20 Jun 2024 06:34:54 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Baptiste Daroussin cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 35e941ce5520 - main - systat: fix build with newer ncurses In-reply-to: <202406201312.45KDCcFk092290@gitrepo.freebsd.org> References: <202406201312.45KDCcFk092290@gitrepo.freebsd.org> Comments: In-reply-to Baptiste Daroussin message dated "Thu, 20 Jun 2024 13:12:38 +0000." List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 20 Jun 2024 06:34:54 -0700 Message-Id: <20240620133454.24C13193@slippy.cwsent.com> X-CMAE-Envelope: MS4xfCOndXIb7zkW6EQvGeMH+8mmV1S9H4xtlVB3RFyG9/ct0nrNF4C+pt+Kx3G4lmvpEEsWm3iABmPtMW04nIOShNhrDogdve+ejeoFyELJRtCmiGVWuoU4 D8ozfa8sRb9w37U7DdLT6DVvQreqt+r+4lYVRv/VdhFy0F5O6h4EO0RQ33f6Gcy96uteEarAFQtvhiqvpTjB4iGscb2gQyRMYvzY4KHw+rVVMRi51ujtVVhv 7ApsDFsKjHNuJ1PwtGcsaUjgxeY5d5mHqZdsYz7a5WjQO66OiYLWhifHQ9zFG5wHIEFoW3LP6exKKjNBbR8ji6BUBqQmOJSWSDJ15X2Va/c= X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4W4hLT40bTz4WG6 In message <202406201312.45KDCcFk092290@gitrepo.freebsd.org>, Baptiste Daroussi n writes: > The branch main has been updated by bapt: > > URL: https://cgit.FreeBSD.org/src/commit/?id=35e941ce5520b8ef710bb388bd63460a > a0ce63eb > > commit 35e941ce5520b8ef710bb388bd63460aa0ce63eb > Author: Baptiste Daroussin > AuthorDate: 2024-06-20 13:10:38 +0000 > Commit: Baptiste Daroussin > CommitDate: 2024-06-20 13:10:38 +0000 > > systat: fix build with newer ncurses > --- > usr.bin/systat/netcmds.c | 2 +- > usr.bin/systat/sctp.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/usr.bin/systat/netcmds.c b/usr.bin/systat/netcmds.c > index 5b6cb2163b7b..c0bbda7dee8a 100644 > --- a/usr.bin/systat/netcmds.c > +++ b/usr.bin/systat/netcmds.c > @@ -245,7 +245,7 @@ showports(void) > if (sp) > printw("%s ", sp->s_name); > else > - printw("%d ", p->port); > + printw("%ld ", p->port); > } > } > > diff --git a/usr.bin/systat/sctp.c b/usr.bin/systat/sctp.c > index abe4d0e68e04..26abbec68da8 100644 > --- a/usr.bin/systat/sctp.c > +++ b/usr.bin/systat/sctp.c > @@ -276,7 +276,7 @@ showsctp(void) > domode(&stats); > > #define DO(stat, row, col) \ > - mvwprintw(wnd, row, col, "%12lu", stats.stat) > + mvwprintw(wnd, row, col, "%12u", stats.stat) > #define L(row, stat) DO(stat, row, 0) > #define R(row, stat) DO(stat, row, 38) > L(1, sctps_activeestab); R(1, sctps_outpackets); > I'm still getting errors. This time in ee. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0