bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] build: avoid printf format mismatch warnings


From: Joel E. Denny
Subject: Re: [PATCH] build: avoid printf format mismatch warnings
Date: Tue, 29 Sep 2009 08:41:23 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Tue, 29 Sep 2009, Jim Meyering wrote:

> I'm using the stock gcc on an up-to-date Fedora 11 system:
> 
>   gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)

I'm building that and will try it soon.

> > Because Sbitset__index is a size_t, wouldn't the following patch be
> > better?

> I didn't know (and didn't dig) if it could be negative,
> presumed that the author chose %d for a good reason,

Nope, I was the author, and I was being sloppy.  :)

> I'm glad there was a better say.

Thanks again for the report.  I pushed that patch to master and 
branch-2.5.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]