Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2023 14:21:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271172] net/openssh-portable does not build on i386
Message-ID:  <bug-271172-7788-tujtaAqltW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271172-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271172-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271172

--- Comment #5 from mike@sentex.net ---
I guess the question is, what is the safest way to cast this line ?
channels.c:2569:12: error: comparison of integers of different signs: 'time=
_t'
(aka 'int') and 'unsigned int' [-Werror,-Wsign-compare]
                            now >=3D c->lastused + c->inactive_deadline) {


Changing it to=20
now >=3D (time_t) c->lastused + (time_t) c->inactive_deadline) {

will let it compile, but will this break things ?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271172-7788-tujtaAqltW>