[Bug 271172] net/openssh-portable does not build on i386

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 May 2023 14:21:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271172

--- 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 >= c->lastused + c->inactive_deadline) {


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

will let it compile, but will this break things ?

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