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

Alan Modra amodra@gmail.com
Fri May 30 02:22:00 GMT 2014


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!

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list