This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for PR70498 in Libiberty Demangler
- From: Pedro Alves <palves at redhat dot com>
- To: Marcel BÃhme <boehme dot marcel at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Apr 2016 18:41:01 +0100
- Subject: Re: Fix for PR70498 in Libiberty Demangler
- Authentication-results: sourceware.org; auth=none
- References: <9B8E7D06-93A5-40C6-A1F8-599482DD9056 at gmail dot com>
On 04/01/2016 11:21 AM, Marcel Böhme wrote:
> static inline void
> -d_append_num (struct d_print_info *dpi, long l)
> +d_append_num (struct d_print_info *dpi, int l)
> {
> char buf[25];
> sprintf (buf,"%ld", l);
Doesn't this warn about %ld format vs int type mismatch?
Thanks,
Pedro Alves