Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHs-p=ie4pPoj_vMaZq6ss_NTtpwXHFdNXR_nyJxKp4Pe9igzQ@mail.gmail.com>
Date: Fri, 6 Jun 2025 17:01:29 +0100
From: Andy Caldwell <andy.m.caldwell@...glemail.com>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com, David Steele <david@...ackrest.org>, noloader@...il.com
Subject: Re: Sign conversion warning in FD_ISSET()

> Something like ((unsigned)(1?1*(s):0)) ?
>
> Rich

Even simpler - ((unsigned)(1*(s)))

Andy

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.