This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] readline/util.c: use '%d' instead of 'ld' to avoid compiling warning



On 05/30/2014 10:22 AM, Alan Modra wrote:
> On Fri, May 30, 2014 at 11:45:07AM +0930, Alan Modra wrote:
>> On Fri, May 30, 2014 at 08:11:41AM +0800, Chen Gang wrote:
>>> getpid() will return 'pid_t' which is always 'int', so need use '%d'
>>> instead of '%ld' in sprintf().
>>
>> Please do not copy many lists and/or maintainers.  This patch should
>> have gone just to gdb-patches@sourceware.org, since readline belongs
>> to the gdb project.
> 
> Oops, maybe *I* should have read readline/README before sending my
> email.  readline/README tells you the correct mailing list!
> 

OK, thanks.

And excuse me, originally, I did not know that readline only belongs to gdb.


Thanks.
-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]