Re: Compiler warnings

Ken Brown <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Message-ID <[email protected]>
On 4/27/2017 2:33 PM, Sergey Poznyakoff wrote:
> Ken Brown <[email protected]> ha escrit:
>
>> The attached patch silences the warnings.  I'm not sure whether the
>> patch to copyfile.c is correct;
>
> No, it is not.  intptr_t and int are different types.

Yes, I realize they're different types.  Otherwise, my patch wouldn't 
get rid of the compiler warning.

Do you have a different suggestion as to how to avoid the compiler 
warning?  I thought using intptr_t was the standard way of dealing with 
this.

Regards,

Ken
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.