Date: Thu, 20 Jun 2024 15:45:21 +0200 From: Baptiste Daroussin <bapt@freebsd.org> To: Cy Schubert <Cy.Schubert@cschubert.com> 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 Message-ID: <ogudv2w2egmspvevde3qmekvd2amtcqmyxm2rk3qqmndtmop7l@ozmefhquqccz> In-Reply-To: <20240620133454.24C13193@slippy.cwsent.com> References: <202406201312.45KDCcFk092290@gitrepo.freebsd.org> <20240620133454.24C13193@slippy.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu 20 Jun 06:34, Cy Schubert wrote: > 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 <bapt@FreeBSD.org> > > AuthorDate: 2024-06-20 13:10:38 +0000 > > Commit: Baptiste Daroussin <bapt@FreeBSD.org> > > 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. > > fixed, Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ogudv2w2egmspvevde3qmekvd2amtcqmyxm2rk3qqmndtmop7l>