Re: [PATCH] Add cast to unsigned char to strverscmp

Steven J Abner <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>

On Fri, Nov 8 2024 at 11:28:31 AM +0000, Steven J Abner 
<[email protected]> wrote:
> On Fri, Nov 8 2024 at 10:49:31 AM +0000, Corinna Vinschen 
> <[email protected]> wrote:
>> l[dp]-'1'
> 
> I'm not an expert on gcc, but most of the time this trips me up, gcc 
> math. Gcc might be converting to int32_t to do sub/add of variables.
> Steve
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.